← Quiz: REST APIs: all 10 questions
Quiz: REST APIs · Question 9 of 10
What does "stateless" mean for a REST API?
What does "stateless" mean for a REST API?
- A.The API never stores data in a database
- B.Each request carries everything needed, such as the login token, so the server keeps no session between requests
- C.The API cannot return errors
- D.Only GET requests are allowed
Answer & explanation
Correct answer: Each request carries everything needed, such as the login token, so the server keeps no session between requests
Statelessness makes it easy to run many identical server instances.
Can you get the rest right without peeking?
Take the timed Quiz: REST APIs quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →