How to do http requests with macros

Hello all

I have a spredsheet, an want to write a macro that send an HTTP request to a URL and receive a JSON like response.
Can i do it with basic macro programing? Where can i get information about the API.

Apreciate any help
Antonio

Not sure about handling JSON, but sending HTTP request is possible. The API documentation is here: http://api.libreoffice.org/. Some useful links are here: http://www.pitonyak.org/oo.php.

I have allready browsed that documentation but didn´t find any clue about how do that

Perhaps, browsing through the source code of Anaphraseus can help. That program uses HTTP requests and parses responses.