in reply to IO::Socket::SSL problem with web server hang
A first guess: maybe $BLANK isn't working right?
print $remote "GET /API/?action=$api_action\r\n\r\n"; [download]