Hi,
in my scenario I have some REST services that implements CRUD operations, and It can be useful to call them form jqgrid. Unfortunately, except for GET and POST, it is not possibile to define in a simple way the HTTP operation used to perform a particular CRUD operation.
For example, a single “editUrl” is specified to perform add, delete and update, and possibile operations are only GET or POST. By server side I need to manually distinct the operation by the “oper” parameter.
Why don't implement a full REST behaviour? DELETE for delete, PUT for update, POST for inserts, GET for table population and search, with the possibility to dinamically define the URL (i.e. POST to http://service/myresource/{rowid})? It can be very simply integrated with existing rest services.
Thanks
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top