22 days ago
Hi Railway Support,
I am working on an IoT project where an ESP32 microcontroller
sends sensor data via HTTP POST requests to a PHP API hosted
on Railway.app every 5 seconds.
I would like to confirm:
-
Does Railway.app support incoming HTTP POST requests from
ESP32 microcontrollers (non-browser clients)?
-
Are there any rate limits or request blocking policies that
might affect frequent automated POST requests
(approximately 720 requests per hour)?
-
Is there anything I need to configure on Railway to allow
ESP32 HTTP requests?
Thank you!
1 Replies
22 days ago
We support HTTP POST requests from any client, including ESP32 microcontrollers. Our rate limits are ~11,000 requests per second, so 720 requests per hour is well within bounds. No special configuration is needed on Railway's side. One critical note: your ESP32 must send requests over HTTPS, not plain HTTP. HTTP POST requests to port 80 get redirected via 301 and converted to GET, which will break your requests. Make sure your ESP32 firmware uses https:// in the request URL.
Status changed to Awaiting User Response Railway • 22 days ago
15 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 15 days ago