String dataline = String("source=") + sensor + "&temp=" + temp + "&humid=" + humid;
Like I said before, you should use POST.
If you really want to use GET, you should add the parameters to the URI, a GET request doesn't have a body.
String dataline = String("source=") + sensor + "&temp=" + temp + "&humid=" + humid;
Like I said before, you should use POST.
If you really want to use GET, you should add the parameters to the URI, a GET request doesn't have a body.