You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered a rather weird error. When I compile your example GET code for an ESP-32 (Firebeetle), it compiles just fine. However, when I compile it in my code, I get a "'client' doesn't name a type" error on the line where I try to first use the client object (in begin). I am using the Arduino IDE to compile, and I reused your code for the object declaration/instantiation and the begin.
What I used:
*before setup()
RestClient client = RestClient("enteredlocalAPIiphere", 80);
I have encountered a rather weird error. When I compile your example GET code for an ESP-32 (Firebeetle), it compiles just fine. However, when I compile it in my code, I get a "'client' doesn't name a type" error on the line where I try to first use the client object (in begin). I am using the Arduino IDE to compile, and I reused your code for the object declaration/instantiation and the begin.
What I used:
*before setup()
RestClient client = RestClient("enteredlocalAPIiphere", 80);
*within setup()
client.begin("myssid", "mypasswd");
The error is throwing on the client.begin line.
The text was updated successfully, but these errors were encountered: