...
Info |
---|
Note: SwaggerHub may have small problems, so if the page doesn’t display AFTER redirecting, just do an F5 refresh (sometimes you need to refresh a few times) |
Authentication
We have 2 ways of authentication:
The system has 2 types of authentications, but there is only one approach to use the API with the 2 steps below:
Step 1: Logging in: (only supports basic authentication) - This is to supply the username and the password to log in and get a token
Step 2: Using the api: (only supports bearer authentication) - This is to use a token when making any other requests, so that the system knows who is making the request
...
again, expand the drop down, click ‘Try it out’ and then ‘Execute’
you get an example of how to make such a request
in my case, I entered “hello” as the authentication token, just to show how the token is present on the header, in a valid case, the word “hello“ would be a long encoded text