Z
Z
zxcursed2022-03-07 23:37:35
Access rights
zxcursed, 2022-03-07 23:37:35

How to assign a user to a specific "index"?

There is an API, where one of the input parameters is 'index', authorized users have access to the API. How to correctly assign a user to an index so that you can make a request to the index that is registered for the tobl?
Example:
The user has indexes "2" and "3", if he makes a request to the API and writes 2 or 3 in the 'index' parameter, then the API returns a response, if a different number, then returns a failure

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question