Tim
The code below is http request. There are 2 part of it: header and body. You can get header information from this link
http://en.wikipedia.org/wiki/List_of_HTTP_header_fieldsLet me explain a little bit about the code below:
Line 1 - 5 are headers
Line 6 - 8 are body.
- This is a http request with using POST method.
- Add Authorization field in the header
- Change Content-Type header into: application/json;charset=utf-8
- For post data, fill it with line 6 - 8
- Send your request to
http://rcore1.messenger.yahooapis.com/v1/m...d=msgrsessionid Done, you will receive the result from yahoo server.
Thx
~jimmi
I've got the same question about sending messages.
The documentation shows the code below as the way to do it but how do you turn that into a url or actual code?
1.POST /v1/message/yahoo/targetYahooId?sid=msgrsessionid
2.Host: rcore1.messenger.yahooapis.com
3.Authorization: < Standard OAuth credentials >
4.Content-Type: application/json;charset=utf-8
5.Content-Length: 25
6.{
7. "message" : "Hey there"
8.}