Perform regular authentication in Autoshares Trader
Overview
All API requests in Autoshares Trader require a unique authentication token that must be provided in the request header. Without this token, it's impossible to place orders, retrieve charts, create users, etc. To get the token, use the following API endpoint:
The header of the request must contain the following three parameters:
Et-App-Key. This is the API key of your company that can be found it in the BO Companies widget. When editing the company's settings, navigate to the WebApi tab and look for the required key (it could be a key for the web terminal, the mobile app, or a custom key).
Username. This is the username of the user on whose behalf all future requests will be made.
Password. This is the password of the user on whose behalf all future requests will be made.
CURL
The following is a sample CURL for performing single-factor authentication: