https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/XXXXXX-ad98-455a-95a3-b324bbaaf46b /url?iterationId=XXXXXX-79a1-41c5-90e2-a1ae1dd85b5aPOST https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/XXXXXX-ad98-455a-95a3-b324bbaaf46b /url?iterationId=XXXXXX-79a1-41c5-90e2-a1ae1dd85b5a
HTTP/1.1 Host: southcentralus.api.cognitive.microsoft.com Prediction-Key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Content-Type: application/json{"Url": "https://www.XXXXXXXXXXXXXXXXXXXXXXXXX.de/fileadmin/media/_processed_/6/f/csm_XXXXXXXXXXXX.png"}
In my Blocks Viewer it looks like this (with Url: https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/XXXXXX-ad98-455a-95a3-b324bbaaf46b /url?iterationId=XXXXXX-79a1-41c5-90e2-a1ae1dd85b5a)
Trying to push the limits of App Inventor!
Snippets,
Tutorials and
Extensions from
Pura Vida Apps by
Taifun.
Url: https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Prediction/ XXXXXXX -ad98-455a-95a3-b324bbaaf46b/image?iterationId=XXXXXXX-79a1-41c5-90e2-a1ae1dd85b5a
Content-Type to: application/octet-stream
PATH TO IMAGE FILE looks like: file:///storage/emulated/0/Pictures/app_inventor_XXXXXXXXX.jpg
And adding the additonal blocks for the Camera and the POST FILE as shown below:
With the changes, the Code is always
| 404 | Not Found |
|---|
| 400 | Bad Request |
|---|
Did i do this with the POST FILE correct?
Regards,
Tobi
Codes are always 400.