Has anyone tried uploading a file using the REST API using Python
Summary
I am trying to upload a file using the REST API to upload a file to a Planning instance using PythonContent
Hi All,
Has anyone tried to upload a file to Planning cloud using the REST API using Python. I am using the examples given for the Python requests library. I am not a Python expert, so I am not sure how to figure out the problem. I keep getting a 404 error as the return status_code.
I have tried putting the file object directly as a parameter to data, I have tried chunks (code below) and I have also tried creating a dictionary with the filename and file contents.
Tagged:
1