As processFields method needs a post request, how do i send the body parameters:
1.XML file
2.TaskId
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.
Comments
3 comments
An example of transmitting a file in the request body can be found in the code sample for Python, see file AbbyyOnlineSdk.py, 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 SDK_Support@abbyy.com so we could reproduce it on our side.
Hello Ivan, is there any code sample for php for the process fields method?
Hello,
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.
Please sign in to leave a comment.