Text-Translation-API-V3-Flask-App-Tutorial
Text-Translation-API-V3-Flask-App-Tutorial copied to clipboard
sample don't work !
I try the text translate text (as I have only this service), and in response I have the following message:
{'code': 401000, 'message': 'The request is not authorized because credentials are missing or invalid.'}
bump
In case it helps : The translation will not work as :
- the following parameter is also require in the headers: 'Ocp-Apim-Subscription-Region': location,
- and the name of the location (aka: region under the key, eg: westus)