Send sensor data over wifi between 2 Arduino MKR WiFi 1010 without internet

Hi, i'm curently trying to send data that comes from a temperature sensor wired on an Arduino MKR WiFi 1010 to another MKR WiFi 1010 through wifi without internet. I don't have any issue getting the sensor data on the first arduino's serial monitor and creating a wifi access point, however, i have no idea about how to send this data to the other Arduino. Does anyone know how to do that ?

Thanks !

start a WiFiServer on one of them and request the data with a WiFiClient from the other.
see the examples of the WiFiNINA library on how to start a server and how to connect a client.
or use UDP messages. there is an example too