blob: 4d6fd9478911574a71fbddefd3183083afbabd87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _SKYPE_REQUEST_PROFILE_H_
#define _SKYPE_REQUEST_PROFILE_H_
class GetProfileRequest : public HttpRequest
{
public:
GetProfileRequest(const char *token) :
HttpRequest(REQUEST_GET, "api.skype.com/users/self/profile")
{
flags |= NLHRF_SSL;
AddHeader("X-Skypetoken", token);
AddHeader("Accept", "application/json");
}
};
#endif //_SKYPE_REQUEST_PROFILE_H_
|