I'm trying to wrap my head around creating a restful api that reads, creates, updates, and deletes multiple records at a time. I came across SugarCRM's "restful" api and the examples they provide.
I have no idea what is considered restful about their api in their example. All of the requests to the api are post'ed via cURL. Retrieving records uses a cURL post(shouldn't they be using get?).
Is their api considered restful? and if so how?
Their example retrieving multiple records
The current SugarCRM REST API in 6.5 is definitely not RESTful, it is more RPC based. The new one coming over the coming months will be more RESTful however.
See Wikipedia for a better guide here...
http://en.wikipedia.org/wiki/Representational_state_transfer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With