Arduino RP2040 Message to WhatsApp

So the one from Arduino?

The error occurs because you are trying to instantiate HttpClient (note the capital H and C) without parameters. On Arduino, there are two different libraries that people call HttpClient, and they are not interchangeable.

For the one commonly used on RP2040/Arduino (from ArduinoHttpClient), the constructor requires a WiFiClient and the server info, for example:

(Typed here - Check documentation)


#include <WiFiNINA.h>
#include <ArduinoHttpClient.h>
WiFiClient wifi;

HttpClient http(wifi, "example.com", 80); // must provide WiFiClient, host, and port

You cannot just do HttpClient http; with this library

I think you need to loool at he standard Arduino WiFiNINA library together with HTTPClient for HTTP or HTTPS.