• 4 hours
  • Easy

Free online content available in this course.



Got it!

Last updated on 4/2/20

Make Requests and Send Responses With a REST API

Log in or subscribe for free to enjoy all this course has to offer!

Evaluated skills

  • Make requests and send responses with a REST API
  • Question 1

    What purpose does a message body serve when working with REST APIs?

    Careful, there are several correct answers.
    • A message body lets developers define what data they want to see when using the GET HTTP verb.

    • A message body lets developers send XML or JSON data in a request message.  

    • A message body passes in additional information about the request or response in a key-value format.

    • Similar to a traffic light, a message body lets the developer know if the request was successful or not.

    • The message body is optional, but is usually filled out when creating or updating data.

  • Question 2

    How can you know if a REST API you want to use is secure?

    • The API has been updated recently to follow latest security protocols and returns a response with a 200 response code status.

    • The API has important security features like a request header, a message body, and an HTTP verb.

    • The API has authentication and encryption methods and has been updated recently to support latest security standards.


    • The API has good documentation, supports all CRUD operations, and has API tokens.

  • Question 3

    Which of the following is true about an authentication token?

    Careful, there are several correct answers.
    • An authentication token makes sure that only a specific user with the right permissions can update or edit data. 

    • API tokens let developers know how often to create and manipulate data. 


    • An API token is a string of letters and numbers that is unique to each user.

    • Authentication token can be obtained via registration through an API's website.

    • API tokens are used to understand a response from a server and a request from a client.