Hello, I keep receiving
{"fault":{"faultstring":"Failed to resolve API Key variable request.header.X-AG-Access-Token","detail":{"errorcode":"steps.oauth.v2.FailedToResolveAPIKey"}}}
Can someone please provide an example of request with 'curl'? I could not find any, and I get the message above no matter what syntax I use :(
Thank you. Adrian.
Looks like you are missing access token. To receive a unique access token, one can register here:
https://iameui-eagan-prod.thomsonreuters.com/iamui/UI/createUser?app_id=Boldℜm=Bold
If you try the API with "TRY IT OUT" button, you will be able to see the mandatory fields, and also curl request that is being generated.
Many thanks !
Explicitly, the syntax is
curl \ -X POST \
--header "Content-Type: text/raw" \ --header "Accept: application/json" \
--header "x-ag-access-token: your-key-here" \
--header "outputFormat: xml/rdf" \
-d "Text to analyse here" \
"https://api.thomsonreuters.com/permid/calais"