
Replace YOUR_SUBSCRIPTION_KEY with your subscription key for the Speech service. This example is a simple PowerShell script to get an access token. The body of the response contains the access token in JSON Web Token (JWT) format. Ocp-Apim-Subscription-Key: YOUR_SUBSCRIPTION_KEYĬontent-type: application/x-www-form-urlencoded If your subscription isn't in the West US region, replace the Host header with your region's host name. This example is a simple HTTP request to get a token.
#Calibrate speech to text windows 10 keygen#

Use the following samples to create your access token request. The issueToken endpoint has this format: Replace with the identifier that matches the region of your subscription from this table: Geography To get an access token, you need to make a request to the issueToken endpoint by using Ocp-Apim-Subscription-Key and your subscription key. In this request, you exchange your subscription key for an access token that's valid for 10 minutes. When you're using the Authorization: Bearer header, you're required to make a request to the issueToken endpoint. For example: 'Ocp-Apim-Subscription-Key': 'YOUR_SUBSCRIPTION_KEY' When you're using the Ocp-Apim-Subscription-Key header, you're only required to provide your subscription key.

This table illustrates which headers are supported for each feature: Supported authorization header

AuthenticationĮach request requires an authorization header. For Azure Government and Azure China endpoints, see this article about sovereign clouds.
