Top 15 REST API Interview Questions and Answers

  1. Client/server Error Codes
  2. Success codes
  3. Use of GET, PUT, POST, PATCH, DELETE
  4. Difference between Put and Patch
  5. Difference between Put and Post
  6. How to handle authentication?
  7. Difference between webserver and API
  8. Json/xml structure format
  9. How to validate json response?
  10. Use of JsonPath
  11. How to construct json body for Put, Post, Patch request?
  12. Use of JsonObject.
  13. What’s is URI?
  14. What’s a resource?
  15. What are the common headers used?

~via Shammi Jha (WhatsApp Group)