Skip to content

Commit e5fe8af

Browse files
Merge pull request #22 from mishaschwartz/post-not-put
Bugfix: this route should be a POST route by default
2 parents 4e3bb65 + 1e960b8 commit e5fe8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markusapi/markusapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def _do_file_upload(
461461
file_path: str,
462462
contents: Union[str, bytes],
463463
mime_type: Optional[str] = None,
464-
request_type: str = "PUT",
464+
request_type: str = "POST",
465465
) -> ResponseType:
466466
"""
467467
Helper that performs requests of <request_type> to <path> that involves uploading a file named

0 commit comments

Comments
 (0)