Created
July 29, 2020 21:38
-
-
Save alexastrum/5d55a23c4a7ea37934b99be5e0d2a65f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String host = String(PROJECT_ID) + ".firebaseio.com"; | |
| WiFiSSLClient wifiClient; | |
| HttpClient httpClient = HttpClient(wifiClient, host, 443); | |
| String url = "/" + path + ".json"; | |
| httpClient.put(url, "application/json", jsonStr); | |
| int statusCode = httpClient.responseStatusCode(); | |
| String response = httpClient.responseBody(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment