From 2db3743c2b49587f0d0505b71b99f21dc4dd6eb8 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 9 Apr 2015 15:32:16 +0000 Subject: SkypeWeb: Fix(?) auth request. git-svn-id: http://svn.miranda-ng.org/main/trunk@12700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/requests/contacts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/requests/contacts.h') diff --git a/protocols/SkypeWeb/src/requests/contacts.h b/protocols/SkypeWeb/src/requests/contacts.h index f362f02284..8debeba6ed 100644 --- a/protocols/SkypeWeb/src/requests/contacts.h +++ b/protocols/SkypeWeb/src/requests/contacts.h @@ -79,7 +79,7 @@ class AuthAcceptRequest : public HttpRequest { public: AuthAcceptRequest(const char *token, const char *who, const char *skypename = "self") : - HttpRequest(REQUEST_GET, FORMAT, "api.skype.com/users/%s/contacts/auth-request/%s/accept", skypename, who) + HttpRequest(REQUEST_PUT, FORMAT, "api.skype.com/users/%s/contacts/auth-request/%s/accept", skypename, who) { Headers << CHAR_VALUE("X-Skypetoken", token) @@ -91,7 +91,7 @@ class AuthDeclineRequest : public HttpRequest { public: AuthDeclineRequest(const char *token, const char *who, const char *skypename = "self") : - HttpRequest(REQUEST_GET, FORMAT, "api.skype.com/users/%s/contacts/auth-request/%s/decline", skypename, who) + HttpRequest(REQUEST_PUT, FORMAT, "api.skype.com/users/%s/contacts/auth-request/%s/decline", skypename, who) { Headers << CHAR_VALUE("X-Skypetoken", token) -- cgit v1.2.3