diff --git a/Changelog.md b/Changelog.md index 6265e02..d1fe712 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,8 @@ # Changelog +##[v0.1.1] +- Fixed bug which caused file uploads to be PUT requests by default instead of POST (#22) + ##[v0.1.0] - this release includes functions to call all API routes for MarkUs version 1.9.0 (#10, #12, #13, #14, #18) - updated documentation to give correct instructions for pip installation (#11) diff --git a/markusapi/markusapi.py b/markusapi/markusapi.py index 448f6e0..cad8988 100644 --- a/markusapi/markusapi.py +++ b/markusapi/markusapi.py @@ -461,7 +461,7 @@ def _do_file_upload( file_path: str, contents: Union[str, bytes], mime_type: Optional[str] = None, - request_type: str = "PUT", + request_type: str = "POST", ) -> ResponseType: """ Helper that performs requests of to that involves uploading a file named