NodeMCU readings to linux system

Hi,

I'll have a nodemcu connected to some sensors and connected to my home network.

I've a linux system that i want the reading to be logged on it.

i was thinking of making a code that running a rest api with whatever PL and call it with the nodemcu and log the data.

is there another or better way to do this?

A nodemcu what? They make hundreds of products.

aarg:
A nodemcu what? They make hundreds of products.

Nodemcu v2
That has esp8266 chip