From 973182cda07bc64545523b2ae0940c6f170c6db6 Mon Sep 17 00:00:00 2001 From: Alex McGivern Date: Wed, 26 Apr 2017 23:13:49 +0100 Subject: account_update_credentials uses PATCH, not POST --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 2e557e4..a32241b 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -646,7 +646,7 @@ class Mastodon: 'avatar' and 'header' are PNG images encoded in base64. """ params = self.__generate_params(locals()) - return self.__api_request('POST', '/api/v1/accounts/update_credentials', params) + return self.__api_request('PATCH', '/api/v1/accounts/update_credentials', params) ### # Writing data: Reports -- cgit v1.2.3