I am trying to use the 2 step authentication but looks like I am missing something.
To get the token I post:
The JSON response is:
To use the API:
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!