A user sends a request to the OpenWeather site to check the weather information in London using the following URI: https://api.openweathermap.org/data/2.5/weather?q=London&units=metric&appid=9a10ec35316896f84397ab36ac05e6cd What type of API authentication is used?

IT Exam Items Repository › Category: CCNA 3 v7 › A user sends a request to the OpenWeather site to check the weather information in London using the following URI: https://api.openweathermap.org/data/2.5/weather?q=London&units=metric&appid=9a10ec35316896f84397ab36ac05e6cd What type of API authentication is used?

A user sends a request to the OpenWeather site to check the weather information in London using the following URI:

https://api.openweathermap.org/data/2.5/weather?q=London&units=metric&appid=9a10ec35316896f84397ab36ac05e6cd

What type of API authentication is used?

  • basic authentication
  • OAuth authentication
  • API key authentication
  • access token authentication

Explanation: API key authentication is a simple and effective method for securing RESTful APIs. A unique identifier known as an API key is issued to a client. This key acts as a secret token that identifies the client making the request, allowing the server to determine if the request is authorized. The API key is used in headers, query parameters, or the body of HTTP requests to authenticate access to the API. In this example, the API key 9a10ec35316896f84397ab36ac05e6cd is included in the query component of the request URI. Note, the API key shown is only for example purpose.

Related exam: 15.8.2 Module Quiz Answers – CCNA 200-301 Exam v1.1 Supplemental Module