API review

Review

In this module, we expanded on the previous module, by exploring and learning how to interact with the RESTful APIs on our simple Flask application. We also spent some time interacting with other popular APIs

  • CURL was used to interact with RESTful API
  • Postman was used to interact with REST, SOAP and GraphQL API, including the use of Authenticating tokens
  • Finally, we learned about API documentation with Swagger.

API Quiz

  1. Postman can only be used for RESTful API interactions. (True or False)

    Click here for Answer

    FALSE As we saw in the labs, Postman is capable of dealing with most of the most popular APIs.

  2. Error code 500 is returned when you attempt unauthorized interaction with a protected API (True or False)

    Click here for Answer

    FALSE The 500 Error code indicates that there has been an internal server error. In our lab when we attempted this, we received the 403 Forbidden error