Dummy HTTP Post server

by ykaganovich   Last Updated May 22, 2017 16:00 PM

Where can I download a simple Windows GUI app that can consume an HTTP POST, display its contents, and return 200?

Answers 2

This is really best done by writing a script and loading it into your favourite web server (IIS, Apache, whatever), and then pushing the POST to this file.



ASP Classic:

    For Each Item In Request.Form
        For x=1 To Request.Form(item).Count
            Response.Write Item & ": " & Request.Form(Item)(x) & "<br>"

Credit where credit's due, ASP code blatantly lifted from here

The 200 response is automatically generated by the web server, since we are outputting valid code.

If you need a more of a "catch all" response (i.e. you want the web server to run this script regardless of whatever URL you're POSTing to) this can be done with a rewrite rule.

Mark Henderson
Mark Henderson
March 24, 2011 22:25 PM

If you have/are willing to install Python, you can do it easily with dumdum, a tool I wrote


No code required.

May 22, 2017 15:42 PM

Related Questions

Issue with installing GUI on Centos 7.2.1511

Updated February 18, 2016 01:00 AM

running GUI application in the background

Updated March 27, 2015 12:00 PM

Cache file /home/queryxchang/public_html/apps/frontend/config/../cache/-q-1-251584-dummy-http-post-server- could not be written