Hi,
I am having trouble uploading a file as a bytestream to Box via python REST calls.
I am using the cURL command found on the developer pages for reference, but am unsure how to handle the attributes field.
Also, on the documentation about uploading, it mentions that for best performance that the file bytes should come after the JSON. However, when I try to pass in the file attributes (name and parent) as JSON along with the bytestream itself, I receive a 405 error for method not allowed.
Could someone please provide some guidance or an example of how to upload a file using REST calls from Python?
Thank you very much!