API Keys - Swagger
swagger.io › specification › authenticationAn API key is a token that a client provides when making API calls. The key can be sent in the query string: GET /something?api_key=abcdef12345 or as a request header: GET /something HTTP/1.1 X-API-Key: abcdef12345 or as a cookie: GET /something HTTP/1.1 Cookie: X-API-KEY=abcdef12345 API keys are supposed to be a secret that only the client and ...
Api Keys | Microsoft Learn
learn.microsoft.com › api › api-keysFeb 22, 2019 · Creating an API key is a special task that requires two requests. The extra request is used to prevent CSRF. First the user must query the API keys endpoint and receive a special token from the XSRF-TOKEN header. Then the user can create the API key by specifying the XSRF-TOKEN header in the creation request.