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
2
Q
✅ http errors
A
1XX - Informational
2xx - Success
3xx - Redirection
4xx - Client-Side Error
5xx - Server Side Error
3
Q
✅ List IHttpActionREsult (6)
A
1 - OK
2- Content
3 - Json
4 - Created
5 - NotFound
6 - BadRequest
4
Q
✅ Headers of the request object used for content negotiation?
A
Accept application/json, application/xml
Accept-Charset
Accept-Encoding
Accept-Language
5
Q
⚠️ What is OWIN?
A
6
Q
⚠️ What is OData?
A
7
Q
⚠️ How to serialize to JSON?
A
8
Q
A
9
Q
What is REST?
A
1) Architectural style,
2) RESTful systems are stateless and separate the concerns of client and server