I am trying to figure out how to do multipart-uploads to AWS Glacier and found some Example Request on this documentation page. How do I implement this example in Python? I think I should use the 'requests' module but don't know exactly how to make it work.
Here is what I have done:
r = requests.post('/042415267352/vaults/history/multipart-uploads')
MissingSchema: Invalid URL '/042415267352/vaults/history/multipart-uploads': No schema supplied.
Perhaps you meant http:///042415267352/vaults/history/multipart-uploads?
You do not need to implement low level HTTP requests yourself, this is what boto module is for in Python. You can do all this via module which abstracts all low level requests for you.
For documentation and examples, see Boto3 Glacier docs which contains lots of examples.