Base64 encoded string with Form recognizer

Adam Schlichtmann 1 Reputation point

I am trying to use the Form Recognizer rest api. In the docs there is the following:


Screenshot taken from:

What is the base64Source property for?

To me it seems that I should be able to post a json request body such as: { base64Source: '...' } with the Content-Type header set to application/json.

This does not work and I cannot find a mention of this base64Source property anywhere else.

Does this property do anything?
Is there a way I can post a base64 string?

Thanks in advance!

Azure Form Recognizer
Azure Form Recognizer
An Azure service that applies machine learning to extract text, key/value pairs, tables, and structures from documents.
695 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 30,046 Reputation points Microsoft Employee

    @Adam Schlichtmann Yes, you can post the base64Source content in the request body and get a 202 accepted response. For example,

    Here is my request:


    Corresponding response:


    The results of the GET operation result:


    This is inline with the examples provided on the form recognizer REST API spec repo available here.

    What is the error seen in your case that fails the request?

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    1 person found this answer helpful.