question

asdfhelp-7120 avatar image
0 Votes"
asdfhelp-7120 asked asdfhelp-7120 commented

404 Postman Face Detection API

Using all the correct headers, params, endpoint, and body in postman according to https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236
. still getting 404. what might be wrong?

azure-cognitive-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered asdfhelp-7120 commented

@asdfhelp-7120 I think the reason for this error could be specific to the request. It would be great if you could post more details of the request or a screen shot of your parameters to check further.

In general, I have observed that 404 error while using postman is because the default method of GET is used instead of POST. For example, if I use the same API with GET I see the same 404 response.

110830-image.png

If I use POST the face id is returned.

110921-image.png

If you are still using the right params and method then I would recommend using the API console directly to check and debug the issue.


image.png (23.4 KiB)
image.png (30.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

oh my gosh. i was on GET instead of POST the whole time. Thank you so much!!!! it works now!!!

0 Votes 0 ·