Uploading DOCX file with Python API

Comments

1 comment

  • Joe Contini

    OK, after about 4 hours of troubleshooting, I finally figures out that I need to open the file as binary with 'rb' instead of 'r'.

    filedata = open(btor['filepath'],'rb')

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk