Skip to content
- Interceptor and its use
- How interceptor works
- Controller Advice
- How do we create interceptor
- Rest
- Richardson Rest Maturity model (4 level that defines the maturity of rest servies)
- Rest Api
- in rest api a recommended term used to refer to multiple resources
- time to first hello world rest
- rest api to add the version in header by using accept and content type
- https://blog.allegro.tech/2015/01/Content-headers-or-how-to-version-api.html
- Http Response Code
- How communication is done between 2 rest services
- What is Response Body
- idempotent http req
- restful services architecture
- http methods
- API security
- using oauth , what scope is required for write access to api
- which grant type support refresh token
- property to include in json to represent subresources /in rest api (llinks/embedded?)
- benefit of GRAPHQL over rest approaches
- WebHooks vs sync api and usage
- how to handle transactional commit over distributed system (2phase commit , saga pattern – push or pull )
- when to use push vs when to use pull mechanism
| HTTP Verb | CRUD | Entire Collection (e.g. /customers) | Specific Item (e.g. /customers/{id}) |
| POST | Create | 201 (Created), ‘Location’ header with link to /customers/{id} containing new ID. | 404 (Not Found), 409 (Conflict) if resource already exists.. |
| GET | Read | 200 (OK), list of customers. Use pagination, sorting and filtering to navigate big lists. | 200 (OK), single customer. 404 (Not Found), if ID not found or invalid. |
| PUT | Update/Replace | 405 (Method Not Allowed), unless you want to update/replace every resource in the entire collection. | 200 (OK) or 204 (No Content). 404 (Not Found), if ID not found or invalid. |
| PATCH | Update/Modify | 405 (Method Not Allowed), unless you want to modify the collection itself. | 200 (OK) or 204 (No Content). 404 (Not Found), if ID not found or invalid. |
| DELETE | Delete | 405 (Method Not Allowed), unless you want to delete the whole collection—not often desirable. | 200 (OK). 404 (Not Found), if ID not found or invalid. |
Create your own website, free on WordPress.com.Create your own website.
Start free