summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/contacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/requests/contacts.h')
-rw-r--r--protocols/SkypeWeb/src/requests/contacts.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/contacts.h b/protocols/SkypeWeb/src/requests/contacts.h
index ce16179d95..af39438ffd 100644
--- a/protocols/SkypeWeb/src/requests/contacts.h
+++ b/protocols/SkypeWeb/src/requests/contacts.h
@@ -100,9 +100,10 @@ public:
{
Headers
<< CHAR_VALUE("X-Skypetoken", token)
- << CHAR_VALUE("Accept", "application/json");
+ << CHAR_VALUE("Accept", "application/json")
+ << CHAR_VALUE("Content-type", "application/x-www-form-urlencoded");
CMStringA data;
- data.AppendFormat("greeting=%s", mir_urlEncode(greeting));
+ data.AppendFormat("greeting=%s", ptrA(mir_urlEncode(greeting)));
Body << VALUE(data);
}
};