arduino-restclient
arduino-restclient copied to clipboard
How to mention the complete URL of the php file to call GET/POST request?
trafficstars
Following is my code, It fails always.
RestClient client = RestClient("http://abc.com"); int statusCode = client.get("/xyz/register.php", &response); Serial.print("Status code from server: "); Serial.println(statusCode); Serial.print("Response body from server: "); Serial.println(response);
Status code from server: 0 Response body from server: