Select from following answers:- HTTP GET
- HTTP POST
- HTTP PUT
- HTTP DELETE
![](/images/correct.gif)
- All Above
HTTP DELETE deletes the resource from the web server identified by the URI. It should be a part of the query string when the client makes the request to the web server. The server acts accordingly and returns a status code of
a) 200(OK) -> if the resource is deleted successfully
b) 202(ACCEPTED) -> if the resource has not yet been deleted
c) 204(NO CONTENT) ->if the resource is not found at the specified URI
d) 500 (INTERNAL SERVER ERROR) -> if there is something wrong in the server side
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator