Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question