You could most probably do this using sockets. There's a few socket snippets on this forum that would help you. Click search and expand the search to 5 years.
Search for "POST" in speech marks in scripts and popups. Also, /help Sockets will help too but not with HTTP commands so if you are not familiar with those do a google search (or other) for HTTP commands.
-Andy