Reputation: 79
I need to understand the PUT function by seeing examples with code, I wonder if this is possible:
Since most browsers do not support HTTP methods other than GET and POST, we mimic other methods (like PUT and DELETE) as follows. We send a normal POST request and add a parameter _method=PUT or _method=DELETE (take care of the underscore)
and how plz give me examples thanks in advance
Upvotes: 0
Views: 807
Reputation: 5205
This post tells me that PUT isn't part of the specification.
Here is an example of a REST client implementing a put
.
Upvotes: 1