Open andrewleader opened 6 years ago
If you have an image file:
https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/3c8ab5ac-1b61-4040-826f-d0ce69d5ecb7/image?iterationId=Default
Curr iteration: 91d3f3ae-17e1-4bc6-bb2a-eabfaf757622
91d3f3ae-17e1-4bc6-bb2a-eabfaf757622
Set Prediction-Key Header to : 161975688d084e45bcfc2a07a8a35239 Set Content-Type Header to : application/octet-stream Set Body to : image file
image file
For image URL, content-type should be application/json and body should be {"Url": "https://example.com/image.png"}
application/json
{"Url": "https://example.com/image.png"}
New one
https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/46101b38-0b54-4f04-bf1a-e12f84faee32/image?iterationId=3c0e9a81-6c0b-4a6c-9b0f-1dae44dcf87b
Set Prediction-Key Header to : f70b037459324dbfbf9141f8c713aedd
Set Content-Type Header to : application/octet-stream
Set Body to :
If you have an image file:
https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/3c8ab5ac-1b61-4040-826f-d0ce69d5ecb7/image?iterationId=Default
Curr iteration:
91d3f3ae-17e1-4bc6-bb2a-eabfaf757622
Set Prediction-Key Header to : 161975688d084e45bcfc2a07a8a35239 Set Content-Type Header to : application/octet-stream Set Body to :
image file
For image URL, content-type should be
application/json
and body should be{"Url": "https://example.com/image.png"}