Trying to request URL so i can use computer vision as an extension in MIT app inventor. Despite using both keys and regenerating a few times, I keep running into error 400 bad request.
Request URL:
https://canadacentral.api.cognitive.microsoft.com/vision/v3.0/describe?maxCandidates=1&language=en
HTTP request
OST https://canadacentral.api.cognitive.microsoft.com/vision/v3.0/describe?maxCandidates=1&language=en HTTP/1.1
Host: canadacentral.api.cognitive.microsoft.com
Content-Type: application/json
Ocp-Apim-Subscription-Key: ••••••••••••••••••••••••••••••••
{"url":"http://example.com/images/test.jpg"}
Response status
400 Bad Request
Response latency
154 ms
Response content
Transfer-Encoding: chunked
x-envoy-upstream-service-time: 104
CSP-Billing-Usage: CognitiveServices.ComputerVision.Transaction=1
apim-request-id: 1ff77d31-5824-4243-8fd9-41780deeaa9b
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
Date: Sat, 21 Nov 2020 13:49:28 GMT
Content-Type: application/json; charset=utf-8
{
"code": "InvalidImageUrl",
"requestId": "1ff77d31-5824-4243-8fd9-41780deeaa9b",
"message": "Image URL is not accessible."
}