I need to call a web service to delete data, and I need to do it using HttpDelete. The service takes a JSON object as parameter.
What i\'m trying to do: Try to dele开发者_开发问答te a record using a \"proper\" HTTP Delete. Controller Code:
Rfc2616 lists many methods besides GET and POST, like, say, DELETE, PUT etc. Method field in html forms, though, seems to be allowed to specify only GET or POST.
In our project, a list of all books can be retrieved through REST: GET http://server/api/books/ A specific book can be retrieved as following:
I assume the response code 200 always allows for a response-body, bu开发者_如何学Pythont I can\'t find any explicit mention of response-bodies for DELETE-requests. It is explicitly mentioned here in t
I was searching for a solution of the following problem, so far without success: I\'m planning a RESTful web service, where certain actions (e.g. DELETE) 开发者_运维问答should require a special authen
Given t开发者_高级运维hat the DELETE verb in HTTP is idempotent, when I issue the following request, what should happen the second (or third, or fourth, etc...) time I make it?
I made a demo application with rails new demo and then generated a scaffolded user controller with rails generate scaffold User name:string email:string. The scaffolded code has an ApplicationControll
I am trying to develop a RESTful S开发者_StackOverflowinatra application. Now, I know how to respond to a delete request with something like
For some reason when I make a DELETE HTTP request from jQuery (1.4.4) to a CherryPy server (3.1.2), no parameters are being sent. POST, GET and PUT requests are sending parameters just fine.