Mongoose embedded we server https://github.com/cesanta/mongoose/blob/master/examples/http-restful-server/main.c

In this example, I am not able to send request from other system in local network.

That’s right, because this example listens only on your computer, localhost.
Change localhost to 0.0.0.0 and you’ll be able to connect from any computer in your LAN.