Skip to content

Commit d5696c3

Browse files
authored
Update curl-thumb.md
1 parent 485c49f commit d5696c3

File tree

1 file changed

+3
-2
lines changed
  • articles/cognitive-services/Computer-vision/QuickStarts

1 file changed

+3
-2
lines changed

articles/cognitive-services/Computer-vision/QuickStarts/curl-thumb.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ To create and run the sample, do the following steps:
3636
[!INCLUDE [Custom subdomains notice](../../../../includes/cognitive-services-custom-subdomains-note.md)]
3737
1. Optionally, change the image URL in the request body (`https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Shorkie_Poo_Puppy.jpg/1280px-Shorkie_Poo_Puppy.jpg\`) to the URL of a different image from which to generate a thumbnail.
3838
1. Open a command prompt window.
39-
1. Paste the command from the text editor into the command prompt window, and then run the command.
39+
1. Paste the command from the text editor into the command prompt window.
40+
1. Press enter to run the program.
4041

4142
```bash
42-
curl -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -o <thumbnailFile> -H "Content-Type: application/json" "https://westcentralus.api.cognitive.microsoft.com/vision/v2.1/generateThumbnail?width=100&height=100&smartCropping=true" -d "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Shorkie_Poo_Puppy.jpg/1280px-Shorkie_Poo_Puppy.jpg\"}"
43+
curl -H "Ocp-Apim-Subscription-Key: <subscriptionKey>" -o <thumbnailFile> -H "Content-Type: application/json" "https://westus.api.cognitive.microsoft.com/vision/v2.1/generateThumbnail?width=100&height=100&smartCropping=true" -d "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Shorkie_Poo_Puppy.jpg/1280px-Shorkie_Poo_Puppy.jpg\"}"
4344
```
4445

4546
## Examine the response

0 commit comments

Comments
 (0)