You've already forked ArduinoHttpClient
mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-06-13 04:21:30 +03:00
Add optional content type, content length and body parameters to post, put, and startRequest
Also, flush client RX data in start request, if state is ready body.
This commit is contained in:
@ -63,9 +63,7 @@ void loop() {
|
||||
|
||||
// send the GET request
|
||||
Serial.println("making GET request");
|
||||
client.beginRequest();
|
||||
client.get(path);
|
||||
client.endRequest();
|
||||
|
||||
// read the status code of the response
|
||||
statusCode = client.responseStatusCode();
|
||||
|
Reference in New Issue
Block a user