HTTP Actions Flashcards
1
Q
GET
A
Requests data from server
Example - GET webpage content
2
Q
POST
A
Sends data to server.
Example - Submit data form
3
Q
PUT
A
Updates server data.
Example - Update profile picture
4
Q
HttpResponseResult
A
HTTP request result object
Example - 200 status and data
5
Q
Void
A
No response content.
Example - DELETE returns 204.
6
Q
HttpResponseMessage
A
Server response object.
Example - 404 status, error message
7
Q
IHttpActionResult
A
Interface for response.
Example - Ok() or NotFound()