API Testing · Junior · Question 3 of 75

What does a REST API usually use to identify resources?

Show the answer

Correct answer: URLs such as /users/42

Explanation

In REST, each resource has an address, and HTTP methods say what to do with it: GET /users/42 reads it, DELETE /users/42 removes it.

Further reading

Problem with a question

API Testing · Junior · question 3

Test yourself

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

Take this quiz