Hello
I am trying to use the 2 step authentication but looks like I am missing something.
To get the token I post:
URL: http://some-domain.com//api/v1/user/signin
Method: POST
Header: Content-Type = application/json
Body: {
"email": "user@some-domain.com",
"password": "12345"
}
The JSON response is:
{"token":"eyJ0eXAiOiJKV1QiL.....long_string"}
To use the API:
URL: http://some-domain.com/api/v1/inventory/?token=eyJ0eXAiOiJKV1QiL.....long_string
Method: GET
It's worth mentioning that this very same API is called from other places by first getting the token and then sending it on the URL) and it works perfectly.
Thanks in advance!