converting pdf to xml

I am pretty new to ABBYY Cloud SDK. I want to convert pdf to xml file using API. 

Is there a way i can do this using API Testint tool "POSTMAN". I have across python code that does the operation

Any help how i can use the API to send POST request of my pdf file and convert to xml from POSTMAN?

Are there any videos or documents that explains step by step by providing the username, password  followed by uploading the documents and get the output? This link here here doesn't explain much 



from ABBYY import CloudOCR

ocr_engine = CloudOCR(application_id='user', password='password')

input_file = open('file.pdf', 'rb')

post_file = { input_file}

result = ocr_engine.process_and_download(post_file, exportFormat='xml', language='English')


for format, content in result.items():

      output_filename = '{name}.{extension}'.format(name='.'.join('.')[:-1]), extension=format)

      with open(output_filename, 'wb') as output_file:




1 comment

  • Avatar
    Oksana Serdyuk


    According to our database, you have already registered and even used all free trial pages. Do you need a little more pages for testing?

    For quick start we usually recommend to review our articles:

    Comment actions Permalink

Please sign in to leave a comment.