Http.get response code -1?

This is not a host name. You should leave the hostname NULL and set the IP address with something like:

IPAddress localserver(192,168,0,1);
request.ip = localserver;