web api / microservices Flashcards

1
Q

✅ PUT vs POST vs PATCH

A

POST create a resource

PUT update or replace a resource

PATCH Partial Update

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

✅ http errors

A

1XX - Informational

2xx - Success

3xx - Redirection

4xx - Client-Side Error

5xx - Server Side Error

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

✅ List IHttpActionREsult (6)

A

1 - OK

2- Content

3 - Json

4 - Created

5 - NotFound

6 - BadRequest

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

✅ Headers of the request object used for content negotiation?

A

Accept application/json, application/xml

Accept-Charset

Accept-Encoding

Accept-Language

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

⚠️ What is OWIN?

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

⚠️ What is OData?

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

⚠️ How to serialize to JSON?

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

What is REST?

A

1) Architectural style,
2) RESTful systems are stateless and separate the concerns of client and server

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