Skip to content

Commit ad71737

Browse files
update REST API GET
1 parent 23cbf4a commit ad71737

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

REST-API-GET/REST-API-GET.ino

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ IPAddress server(192,168,1,201);
77

88
EthernetClient client;
99

10-
String temp = "data=5";
11-
bool printWebData = true;
12-
1310
void setup() {
1411
int monitor_serial = 9600;
1512
Serial.begin(monitor_serial);
@@ -38,8 +35,6 @@ void setup() {
3835
// Serial.println("GET /epass-passenger/api/test?data=5 HTTP/1.1");
3936
client.print("GET /epass-passenger/api/test?");
4037
Serial.print("GET /epass-passenger/api/test?");
41-
client.print(temp);
42-
Serial.print(temp);
4338
client.println(" HTTP/1.1");
4439
Serial.println(" HTTP/1.1");
4540
client.print("Host : ");

0 commit comments

Comments
 (0)