Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

online status #19

Open
10der opened this issue Jan 16, 2017 · 0 comments · May be fixed by #21
Open

online status #19

10der opened this issue Jan 16, 2017 · 0 comments · May be fixed by #21

Comments

@10der
Copy link

10der commented Jan 16, 2017

I am trying to change skype status

string data = "{\"status\":\"Online\"}"; HttpWebRequest statusRequest = parentSkype.mainFactory.createWebRequest_PUT("https://db3-client-s.gateway.messenger.live.com/v1/users/ME/presenceDocs/messagingService", new string[][] { new string[] { "RegistrationToken", parentSkype.authTokens.RegistrationToken } }, Encoding.ASCII.GetBytes(data), "application/json; charset=UTF-8"); using (HttpWebResponse webResponse = (HttpWebResponse)statusRequest.GetResponse()) { }

but got 400 - bad request - what's wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant