The MyBlogLog Web Services are all REST services. That means you can easily construct request URLs that will work in your browser, on the command line, and in your code.
Most API requests will use GET. If the specific documentation requires POST, see the section on POST URL construction below.
All resource URLs start with the hostname along with the version and resemble the following sample:
Next is the resource:
The recommended approach for sending an AppID is by using the header 'X‐Yahoo‐AppID'. AppID can also be sent in the query string.
Those components form the base URL.
The resource can be followed by optional query parameters, which take the form argument=value, where the arguments and values are url encoded. Multiple parameters are separated by an ampersand (&). The following example lists authors of the community 'MyBlogLog', limiting the results to '5' by the 'count' parameter.
Using POST to communicate with the API is a bit different than using GET. All resource URLs still begin with the hostname, service name, and version number:
Note that there is no question mark following the method.
When posting to a resource, the data must be wrapped in XML. Use 'X‐Yahoo‐AppID' in the header. Below is an example: