diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-09 15:32:16 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-09 15:32:16 +0000 |
commit | 2db3743c2b49587f0d0505b71b99f21dc4dd6eb8 (patch) | |
tree | 0732a671bf7095da66020acef31f982d6449d22f /protocols | |
parent | 0d80c9ad5a69097f42453f4fc65105c421f34aa9 (diff) |
SkypeWeb: Fix(?) auth request.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/requests/contacts.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)
|