-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I get data? #206
Comments
then there is a gap in received data, available() returns 0 and you stop read |
I am not returning any data from php file. just echo what I get from url in php |
Here is my php file if( $_GET["esp_value"] ) {
} |
Also here httpsrequest function void httpRequest() // close any connection before send a new request // if there's a successful connection
} |
read my comment again |
Hello,
Firstly thans for your library.,
I need to get data from a web server. How can I do that?
When request "client.println(F("GET /esp.php/?esp_value=61 HTTP/1.1"));"
and print this
while (client.available()) {
char c = client.read();
Serial.write(c);
}
It just print
HTTP/1.1 200 OK
Connection: close
X-Powered-By: PHP/7.4.11
Content-Type: text/html; charset=UTF-8
Content-Length: 2
The text was updated successfully, but these errors were encountered: