preliminary changes to allow a multipart flag in requests.post

Unit tests would still need to be added, along with adding 'multipart'
documentation in api.py