API Design · Junior · Question 6 of 75
Which HTTP methods are 'safe'?
- ✓Correct answer:
GET,HEAD,OPTIONS - 2
POSTandPUT - 3All methods
Explanation
Safe methods don't change server state, so browsers, crawlers and caches may call them freely. Never change data in a GET handler.