RC522.readCardSerial(); char a[11]; /* Output the serial number to the UART */ for(byte i = 0; i < sizeof(RC522.serNum); i++) { char aa[3]; itoa(RC522.serNum[i],aa,16); if (RC522.serNum[i]<0x10) { strcat(a,"0"); } strcat(a,aa); } strcpy(uid,a); uint8_t g = client.GET(a); if (g == 1) { uint16_t resultSize = client.resultBulk(buffer, 100); if (resultSize < 5) { return; } char finalPath[128]; sprintf(finalPath,"/%s%s",sonosRoom,buffer); request.path = finalPath; http.get(request, response,headers); Serial.print("Application>\tResponse status: "); Serial.println(response.status); Serial.print("Application>\tHTTP Response Body: "); Serial.println(response.body); } }