Azure Language Translator

  • 11 July 2019
  • 0 replies
  • 512 views

Swagger Location:

https://swagger.blob.core.windows.net/files/TranslatorAPI.json

 

An Azure Cognititve services Subscription key is required when calling the method.

 

Also, Please add the following to the http header of the service instance

 

{"$type":"SourceCode.SmartObjects.Services.Endpoints.Common.HttpHeader[], SourceCode.SmartObjects.Services.Endpoints.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null","$values":[{"$type":"SourceCode.SmartObjects.Services.Endpoints.Common.HttpHeader, SourceCode.SmartObjects.Services.Endpoints.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null","Name":"Ocp-Apim-Subscription-Key","Value":"API KEY"},{"$type":"SourceCode.SmartObjects.Services.Endpoints.Common.HttpHeader, SourceCode.SmartObjects.Services.Endpoints.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null","Name":"api-version","Value":"3.0"}]}


0 replies

Be the first to reply!

Reply