HTTP-scripts are very familiar task to me and I use Perl for those. For resolving script conversion I need to know your Perl version (perl -v) and info about available HTTP-client modules (LWP, HTTP::Tiny, Furl, etc). Also is good to know, how you plan run the script? Is it cron script? How often you run? Is there a reponse to handle?