Jump to content

Simple web server that catches POST requests

Go to solution Solved by Trinopoty,

Just use nginx and configure it to log the request body.

Hey! I have a mobile app that has a feedback page and I need some kind of server to read and write those requests down. I could setup some kind of Ruby on Rails server, but Rails is a little too heavy for what I would need it for (even just the api mode). Is there some kind of debian program that I can use to catch all these POST requests and write it into a file of some sort? That is all I would need. Simply a web server that catches these POST requests and write them down (I'd be fine even if it doesn't parsing them). What can I do?

Link to comment
Share on other sites

Link to post
Share on other sites

Just use nginx and configure it to log the request body.

Link to comment
Share on other sites

Link to post
Share on other sites

Python? You can do a basic server super easily with it.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×