AdvHTTP is a Lua API that provides the same get and post methods as the standard http API.
Add extra HTTP headers to a request, allowing basic authentication, oauth and other services from Lua.
Set the HTTP method to anything so programs can use REST based services.
Simply download the latest version and put the jar file in your Minecraft mods folder.
In Minecraft, built the Advanced HTTP block next to a computer, and the scripts will appear in a folder called "ahttp".