DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
A code review finds POST /users/updateEmail alongside the existing PATCH /users/:id endpoint. What's the issue?
A
No issue — having multiple ways to update is good API design
B
This reintroduces RPC-style verb-in-URL design (updateEmail) that duplicates what PATCH /users/:id already expresses through the method + resource path
C
POST can never be used for updates under any circumstances
D
This is only a problem if the endpoint returns JSON
Check Answer