- Published on
REST APIs
- Authors
- Name
- Lucian Oprea
- @LucianDSA_
00:30:00
HTTP Methods and Status Codes
⏷ 1. What is the Difference Between PUT
and POST
Methods?
⏷ 2. What are Idempotent HTTP Methods, and Why are They Important?
⏷ 3. What are some common HTTP status codes used in REST APIs?
⏷ 4. How Do You Handle Error Responses in REST APIs?
⏷ 5. Explain the core components of an HTTP Response.
⏷ 6. Which protocol does REST APIs use?
Authentication and Authorization
⏷ 7. How Do You Secure a RESTful API?
⏷ 8. How does Basic Authentication work?
⏷ 9. How Do JWT
Tokens Work in Securing REST APIs?
⏷ 10. What is OAuth2, and how is it used in REST APIs?
⏷ 11. What is the difference between HTTP and HTTPS?
⏷ 12. Is it possible to implement transport layer security (TLS) in REST?
⏷ 13. What are the advantages and disadvantages of using cookies for session management in a RESTful application?
Design and Best Practices
⏷ 14. What is the importance of resource naming conventions in REST APIs?
⏷ 15. How do you design RESTful APIs for pagination and filtering?
⏷ 16. What is HATEOAS, and how does it apply to REST APIs?
⏷ 17. What are the best practices for versioning REST APIs?
⏷ 18. How do you design an API to handle large file uploads?
⏷ 19. Is it possible to send a payload in the GET and DELETE methods?
⏷ 20. What are HTTP headers, and which ones are most commonly used?
Error Handling and Logging
⏷ 21. What are common error response structures in REST?
⏷ 22. How do you log API requests and responses effectively?
Performance and Scalability
⏷ 23. How do you implement rate limiting in a REST API?
⏷ 24. What is caching, and how can it improve REST API performance?
⏷ 25. How does the ETag
header work in REST APIs?
⏷ 26. How can you trace individual requests across services?
⏷ 27. What is the role of API gateways in scaling REST APIs?
⏷ 28. Why are REST services easily scalable?
⏷ 29. What are the advantages and drawbacks of statelessness in REST?
⏷ 30. What is the maximum payload size that can be sent in POST methods?
Testing REST APIs
⏷ 31. How do you write integration tests for REST APIs?
⏷ 32. What is the difference between TestRestTemplate and MockMvc?
⏷ 33. What are the steps to implement contract testing while using a Pact Broker?
Advanced Topics
⏷ 34. What is GraphQL, and how does it compare to REST?
⏷ 35. How do you secure REST APIs against common vulnerabilities (OWASP Top 10) ?
⏷ 36. How do you handle async communication in REST APIs (e.g., Webhooks, Long Polling)?
⏷ 37. What is the role of the Jackson library in a Java REST API?
Real-World Scenarios
⏷ 38. How would you design a REST API for a shopping cart application?
⏷ 39. How do you implement multi-tenancy in a REST API?
⏷ 40. How do you migrate and deprecate endpoints in an evolving REST API?
⏷ 41. How do you document REST APIs effectively (e.g., Swagger/OpenAPI)?
⏷ 42. What is the role of content negotiation in REST APIs?
⏷ 43. If I have an endpoint /users
, and I have 1k requests coming to this endpoint, are they run in parallel or sequential?