Skip to content

Commit 1f7895e

Browse files
authored
Fix to double quote from single quote
`$region` and `$key` can't be use in single quote.
1 parent 7ea82c9 commit 1f7895e

File tree

1 file changed

+2
-2
lines changed
  • articles/cognitive-services/Speech-Service/includes/quickstarts/text-to-speech-basics

1 file changed

+2
-2
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/text-to-speech-basics/rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ At a command prompt, run the following cURL command. Insert the following values
2525
key="YourSubscriptionKey"
2626
region="YourServiceRegion"
2727

28-
curl --location --request POST 'https://$region.tts.speech.microsoft.com/cognitiveservices/v1' \
29-
--header 'Ocp-Apim-Subscription-Key: $key' \
28+
curl --location --request POST "https://$region.tts.speech.microsoft.com/cognitiveservices/v1" \
29+
--header "Ocp-Apim-Subscription-Key: $key" \
3030
--header 'Content-Type: application/ssml+xml' \
3131
--header 'X-Microsoft-OutputFormat: audio-16khz-128kbitrate-mono-mp3' \
3232
--header 'User-Agent: curl' \

0 commit comments

Comments
 (0)