Search code examples
azurepostpostmanazure-form-recognizer

postman post request for Azure FormRecognizer does not work


I am trying to follow the instructions here to analyze a form. I have already trained a model and it works when I use the python code. Now, I would like to be able to get the results also per postman but it doesn't work.

You can see my post request here: enter image description here enter image description here

As you see, I have added the Content-Type and the Ocp-Apim-Subscription-Key. However, I don't get any json as the answer, though I get status: 202 Accepted.

Can anybody tell me, what I have done wrong?

Thanks in advance,


Solution

  • If you have got a response with code 202 Accepted, this means Azure has accepted your request and start to recognize your images.

    In response header, there will be an URL named: operation-location enter image description here

    You can get the result that you requested for via this URL: enter image description here