API Design · Junior · Question 51 of 75

What's the difference between REST and RPC style APIs?

Explanation

Both are valid. Many REST APIs include a few action endpoints (e.g. POST /orders/42:cancel in Google's style) for operations that don't map to CRUD.

Further reading

Problem with a question

API Design · Junior · question 51

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz