GET request using Azure app services and Intel Edison
问题 I wanted to read data from an azure app service's easy tables using REST API to an Intel Edison. Before I did the same using Azure Mobile Services and my code was this. PS: I'm programming the device by the Arduino IDE. void send_request() { Serial.println("\nconnecting..."); if (client.connect(server, 80)) { // POST URI sprintf(buffer, "GET /tables/%s HTTP/1.1", table_name); client.println(buffer); // Host header sprintf(buffer, "Host: %s", server); client.println(buffer); // Azure Mobile