hkpolt.blogg.se

Gradle set java version
Gradle set java version












gradle set java version

The accepted value is application/json or charset=UTF-8.

  • Optional when using a single-service global Translator Resource.
  • Required when using a multi-service Cognitive Services or regional (geographic) resource like West US.
  • The region where your resource was created. Your Translator service key from the Azure portal. Don't worry, we include the headers for you in the sample code for each programming language.įor more information on Translator authentication options, see the Translator v3 reference guide. To call the Translator service via the REST API, you need to include the following headers with each request.

    Gradle set java version how to#

    For more information on how to use the Ocp-Apim-Subscription-Region header, see Text Translator REST API headers.The value for Ocp-Apim-Subscription-Region is the region associated with your subscription.

    gradle set java version

  • If you choose to use the multi-service Cognitive Services or regional Translator resource, two authentication headers will be required: ( Ocp-Api-Subscription-Key and Ocp-Apim-Subscription-Region).
  • The value for Ocp-Apim-Subscription-key is your Azure secret key for your Translator Text subscription.
  • With a single-service global resource you'll include one authorization header ( Ocp-Apim-Subscription-key) with the REST API request.
  • gradle set java version

    For this quickstart it is recommended that you use a Translator text single-service global resource.














    Gradle set java version