Skip to content

Module quiz: REST APIs :Working with Data (Meta React Native Specialization) Answers 2025

1. Question 1

Special characters like | or ^ are recommended in endpoints?

  • False

  • ✔️ True

(Correct answer = FALSE — they are NOT recommended.)


2. Question 2

Data filtering should always be done with query strings?

  • False

  • ✔️ True

(Correct answer = FALSE — not always, depends on design.)


3. Question 3

Differences between PUT and PATCH (Select all):

  • ❌ A PUT request can deal with multiple resources.

  • ✔️ A PATCH request deals with a single record.

  • ✔️ PUT replaces complete resource, PATCH updates parts.

Correct answers: 2 & 3


4. Question 4

Authentication and authorization are the same?

  • False

  • ✔️ True


5. Question 5

Client-side & server-side error codes (Select all):

  • ❌ 201 – Created

  • ❌ 301 – Moved permanently

  • ✔️ 503 – Service unavailable (server error)

  • ✔️ 403 – Forbidden (client error)

  • ✔️ 404 – Not found (client error)

Correct answers: 503, 403, 404


6. Question 6

Valid Accept headers for XML content:

  • ❌ code/xml

  • ❌ application/x-xml

  • ❌ application/xml-content

  • ✔️ application/xml

  • ✔️ text/xml

Correct answers: application/xml, text/xml


7. Question 7

Semantic meaning of 403 status code:

  • ✔️ Forbidden

  • ❌ Unauthorized

  • ❌ Bad request


8. Question 8

Valid for Insomnia (Select all):

  • ❌ Insomnia has a mobile client

  • ✔️ Insomnia can send different types of payloads

  • ✔️ Insomnia has a command line tool

  • ✔️ Insomnia is cross-platform

  • ✔️ It’s a REST API Client

Correct answers: 2, 3, 4, 5


9. Question 9

API client with both web & desktop versions:

  • ❌ Curl

  • ✔️ Postman

  • ❌ Insomnia


10. Question 10

GET returns 404 if resource not found?

  • ✔️ True

  • ❌ False


📘 Summary Table

Q Correct Answer(s) ✔️
1 False ✔️
2 False ✔️
3 PATCH = single record, PUT full replace ✔️
4 False ✔️
5 503, 403, 404 ✔️
6 application/xml, text/xml ✔️
7 Forbidden ✔️
8 Sends payloads, CLI tool, Cross-platform, REST client ✔️
9 Postman ✔️
10 True ✔️