Skip to content

Instantly share code, notes, and snippets.

@alexastrum
Created August 17, 2020 16:26
Show Gist options
  • Save alexastrum/a384adb68a37424f6d9e030017a839b1 to your computer and use it in GitHub Desktop.
Save alexastrum/a384adb68a37424f6d9e030017a839b1 to your computer and use it in GitHub Desktop.
String host = String(FUNCTIONS_REGION) + "-" + String(PROJECT_ID) + ".cloudfunctions.net";
HttpClient httpClient = HttpClient(wifiClient, host, 443);
httpClient.post("/getIdToken", "text/plain", deviceToken);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment