6

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

4

1 回答 1

8

当前 6.5 中的 SugarCRM REST API 绝对不是 RESTful,它更多地基于 RPC。然而,未来几个月即将推出的新版本将更加 RESTful。

请参阅维基百科以获得更好的指南......

http://en.wikipedia.org/wiki/Representational_state_transfer

于 2012-11-14T20:54:07.003 回答