How to use API in Rails?
I have a form in the homepage. which contain folllowing fields First Name:
Last Name:
Address:
City:
Country:
State:
ZIP:
Phone:
Email:
After fill out the开发者_如何学Go information and submit to limecrm like a prospect using the API - after this the page needs to go orders page.. Please help me how to use Limecrm API in rails.. Please help...
You can use ruby on rails, you can use any other language, too. As the documentation say, each method will be handled as POST or GET.
So you build you form, include method,username,password and all other data you want to perform as controls.
Submit this form somehow.
As you want to add this to your homepage you should make 2 forms. The first form on your homepage, post against your own controller. Then in your controller create a form which you savely post against the light crm (using ssl, username,password, etc.).
精彩评论