Just use the search in the forum, there was at least one example how that works.I can't provide you with the link because i get a strange error message when clicking on the search links.
It is pretty easy by use of the network library, but getting the response can be tricky sometimes if you're waiting for a certain server response.
cheers
TWELVE