How to use processFields method with python

  • Last Post 14 May 2018
  • Topic Is Solved
tarun73 posted this 22 August 2017

As processFields method needs a post request, how do i send the body parameters:

1.XML file


i am trying to send it in this fashion

bodyparams:{"taskId": XXXXXXXXXXXXXXXXXX,

                       "file": open(xmlFile,"rb")


and then encoding the bodyparams, and making a post request

But i am getting an internal server error response status code 500.


Order By: Standard | Newest | Votes
IvanPopov posted this 29 August 2017

An example of transmitting a file in the request body can be found in the code sample for Python, see file, method ProcessImage.

If the code sample is not helpful in resolving the issue, please send your input files (the recognized image and the XML file with field coordinates) to so we could reproduce it on our side.

egaldamez25 posted this 13 May 2018

Hello Ivan, is there any code sample for php for the process fields method? 

Oksana S. posted this 14 May 2018


We have already answered here. Currently there is no such sample for PHP, but we will discuss with our product analyst the possibility to add this.