Using the API key directly in the call. No more token required.
You can now use the Azure API key directly in the API call. It is not necessary to exchange the key to a token before using it in the API call. While the previous method of using a token still works, we recommend updating your code for improved performance and reliability, now avoiding the additional round trip.
In your http request to api.microsofttranslator.com or dev.microsofttranslator.com, set the http header "Ocp-Apim-Subscription-Key" to your subscription key.
Do not make a call to the token service (https://api.cognitive.microsoft.com/sts/v1.0/issueToken)
Do not use the appid parameter or the "Authorization" http header.
A C# example is here:
Last update: October 13, 2017