API Fundamentals
/Intermediate
Intermediate Interview Questions
Definition
Questions designed to test practical experience with RESTful architecture, authentication, and HTTP headers.
Explain Like I'm New
Interviewers want to see that you've actually built APIs and hit roadblocks. They will ask about PUT vs PATCH, CORS, and statelessness.
Real World Example
Being asked: 'How would you design a REST API endpoint to update a user's password?'
Common Use Cases
- •Mid-level Engineering Interviews
Terminal Output
bash / terminal
/*
Common Intermediate Question:
"What is the difference between PUT and PATCH?"
Answer:
PUT is used to completely replace a resource. You must send the entire object payload.
PATCH is used to partially update a resource. You only send the specific fields that changed.
*/
Interview Questions
basic
- Explain the concept of 'Statelessness' in REST.
intermediate
- What is a CORS error and how do you fix it?