RestClient only for ESP-Link firmware


In this tutorial is shown how to make an HTTP request and to show the result both in serial monitor than in the wifi console, using an Arduino UNO WiFi.

Please, it's important to upgrade at the latest ESP firmware, using the Arduino UNO firmware updater tool, before to continue this tutorial.



Connect the board to PC using an USB cable.


Now upload the code below, using the Arduino IDE:

This tutorial is available only using the Arduino IDE 1.8.x and downloading the UNOWiFiDev.Edition library from Library Manager.

File: RestClient.ino
This example makes an HTTP request after 10 seconds and shows the result both in
serial monitor and in the wifi console of the Arduino Uno WiFi.

Note: works only with Arduino Uno WiFi Developer Edition.

#include <Wire.h>
#include <UnoWiFiDevEd.h>

void setup() {

const char* connector = "rest";
const char* server = "";
const char* method = "GET";
const char* resource = "/latest.txt";


pinMode(2, INPUT);

doRequest(connector, server, resource, method);

void loop() {


void doRequest(const char* conn, const char* server, const char* command, const char* method){
CiaoData data = Ciao.write(conn, server, command, method);
if (!data.isEmpty()){
Ciao.println( "State: " + String (data.get(1)) );
Ciao.println( "Response: " + String (data.get(2)) );
Serial.println( "State: " + String (data.get(1)) );
Serial.println( "Response: " + String (data.get(2)) );
Ciao.println ("Write Error");
Serial.println ("Write Error");


Uploaded the sketch, follow these steps:
- open the Serial Monitor by the Arduino IDE;
- set the baudrate to 9600;
- wait 10 second and it will appear the status and the response of your HTTP request.


You can visualize it also using the web panel of the Arduino UNO WiFi.
- connect to the web panel using the ip address or the hostname.local/;
- select the WiFi Console from the web panel menu.

Output web panel

If you haven't configured your board then click here.