New webservice API
Pierre-Yves Chibon
pingou at pingoured.fr
Sun Jan 27 10:20:18 PST 2013
On Sun, 2013-01-27 at 20:18 +0200, Lubomir I. Ivanov wrote:
> session = soup_session_async_new();
> - strcat(url, "http://api.hohndel.org/api/mydives/");
> + strcat(url, "http://api.hohndel.org/api/dive/get/?login=");
> strcat(url, user_id);
> - strcat(url, "/xml");
This will not be enough, you need to specify the 'Accept' header to
text/xml otherwise it will return you json.
Pierre
More information about the subsurface
mailing list