I would like to perform this call:
curl -X GET -H "Accept: applicaton/json" -H "Content-Type: application/json" -H "Authorization: '"$STS_TOKEN"'" "https://api.refinitiv.com/data/funds/v1/assets/40003333"
But I have to have a token first, right? How can I get this token?
I have tried this:
curl -v -X POST -H "content-type: application/x-www-form-urlencoded" -H "accept: application/json" -d 'grant_type=password&username=dev_marketdata%40edgelab.ch&password=xxx&scope=trapi&client_id=19475f40a01d407ea11f2fe2a210f4d50b881cb3' "https://api.refinitiv.com/auth/oauth2/v1/token"
{
"error": "access_denied",
"error_description": "Session quota is reached."
}
Not sure if I have used the right params though...