esp-idf rest server limit access to localhost

rosenrot
Posts: 25
Joined: Wed Jan 01, 2020 9:28 pm

esp-idf rest server limit access to localhost

Postby rosenrot » Fri Mar 18, 2022 10:06 pm

Dear All,

I'm using the Restful HTTP server example and I wanted to know if somehow I could restrict the access to GET and POST to the localhost.

https://github.com/espressif/esp-idf/bl ... /README.md

Any idea is welcome.

ESP_Sprite
Posts: 9711
Joined: Thu Nov 26, 2015 4:08 am

Re: esp-idf rest server limit access to localhost

Postby ESP_Sprite » Mon Mar 21, 2022 1:35 am

....why would you want to go through the trouble to spin up an entire server just to query it from the same device? Can you elaborate a bit more on the actual, high-level problem you're trying to solve by querying a server running locally? Asking because this sounds like an X-Y problem to me.

Who is online

Users browsing this forum: No registered users and 63 guests