in reply to cURL scripts to monitor an API
Depending on how close you want to stay to cURL, look either at LWP::UserAgent or at cURL.
Using LWP::UserAgent together with HTTP::Request::Common should be fairly easy to send the messages:
my $ua= LWP::UserAgent->new(); my $res= $ua->post( $url, { username => 'testusergoeshere@gmail.com', +password => 'somecoolpassword' }); $res->dump;
|
|---|