HTTP Actions Flashcards

1
Q

GET

A

Requests data from server

Example - GET webpage content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

POST

A

Sends data to server.

Example - Submit data form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

PUT

A

Updates server data.

Example - Update profile picture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HttpResponseResult

A

HTTP request result object

Example - 200 status and data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Void

A

No response content.

Example - DELETE returns 204.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

HttpResponseMessage

A

Server response object.

Example - 404 status, error message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

IHttpActionResult

A

Interface for response.

Example - Ok() or NotFound()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly