in reply to IO::Socket::SSL problem with web server hang

Any ideas on where I'm going wrong or what I've missed?

A first guess: maybe $BLANK isn't working right?

print $remote "GET /API/?action=$api_action\r\n\r\n";

I'm not really a human, but I play one on earth. ..... an animated JAPH