Add Library

This commit is contained in:
Siwat Sirichai 2019-08-09 09:01:56 +07:00
parent e365b9dbd9
commit 3c47103b39
318 changed files with 56465 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#include <RestClient.h>
RestClient client = RestClient("google.es", 443);
void setup()
{
Serial.begin(9600);
delay(1000);
client.begin("ssid", "password");
int statusCode = client.get("/");
Serial.print("Status code from server: ");
Serial.println(statusCode);
}
void loop()
{
}