P
P
PJeys2021-06-27 02:55:30
Flask
PJeys, 2021-06-27 02:55:30

What is meant?

We set the task to write our own api, which performs some tasks. I
became in a stupor at this point

Add authentication to the API using API key. API key should be configurable. API key should be passed with a request as an “x-api-key” header.

Help me understand what they want from me and how to implement it

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Neverov, 2021-06-27
@PJeys

What exactly do you not understand? Can't translate?
An API token is required. The key must be mutable. Authorization via a token in the "x-api-key" header.
The most banal documentation of such a route: https://swagger.io/docs/specification/authenticati...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question