by Robert Hashemian

Form Post Tester/Viewer

Cost-free and advertising-free.
Note: This service comes with NO GUARANTEES. No liability is assumed.
Comments

What is Form Post Tester/Viewer?

POST Explained
Forms are one of the HTML constructs allowing users to submit data to a Web server. Data sent to the Web server is encoded and sent via application/x-www-urlencoded MIME type using the POST verb. Data can also be sent using the GET verb where values are specified on the URL line as QueryString demarcated using a '?' character. But since sending data via the URL line generally has a maximum limit of 1024 characters, most forms are submitted using the POST command which has no theoretical limit.

Headers
POSTed data is sent as a part of the header, remaining hidden from view. This data is generally handled by a script on the Web server designed to process it, for instance, saving it to a database, using it to look up additional information to display, or taking other actions as intended by the programmer.
Since POSTed data is hidden from view, it is sometimes difficult to troubleshoot problems that might arise in processing submitted forms. This utility provides an inside view of the POSTed data in a raw format as received by the Web server.

Usage
Set the METHOD parameter of your form to POST and the ACTION parameter of your form to the URL of the Form Post Tester,
http(s)://www.hashemian.com/tools/form-post-tester.php
and then submit the form. Upon submission, this utility will display the POSTed data in a raw format.

Saving POST Data
Alternatively you can append a code (must be alphanumeric between 5 and 15 characters with a leading '/') to the ACTION URL, for example
http(s)://www.hashemian.com/tools/form-post-tester.php/test123
In that case in addition to displaying the POSTed data, this utility will save the data under that code for future perusal. The data is kept online for a minimum of one hour. Beyond that, the system periodically removes saved data without leaving a trace.

Viewing Saved Data
As long as the data hasn't been purged you can view it by entering the code (without the leading '/', e.g. 'test123') on the form to the right and clicking 'View'. Alternatively you can view the data by directly navigating to this page and appending the code to the URL. For example, for the code 'test123' you could navigate to:
http(s)://www.hashemian.com/tools/form-post-tester.php/test123
or
http(s)://www.hashemian.com/tools/form-post-tester.php?code=test123

Notes:

  • Since this is a public utility, if you choose to have the POSTed data saved, consider using test values and specifying hard-to-guess codes. Anyone who can correctly guess your code will be able to view the data until it is purged by the system.
  • If you are test-POSTing several forms, consider using a different code for each. If the same code is specified, existing data will be over-written by the new data. This is also true if another person POSTs using the same code as yours. Again, make your codes hard to guess to guard against having them over-written.
  • Due to storage considerations, this utility refuses to save POSTed data exceeding 10,000 characters.
  • Here's a sample form using this tester:

    <form method="post"
    action="https://www.hashemian.com/tools/form-post-tester.php/test123">
    Name: <input type="text" name="Name"><br>
    Favorite color: <select name="Color">
    <option value="Red">Red</option>
    <option value="Green">Green</option>
    <option value="Blue">Blue</option>
    </select><p>
    <input type="submit" value="Submit">
    </form>
    View POST Results

    Type in the code to view the POST data you submitted.

    Specify code:
    *Between 5 and 15 alphanumeric characters
    https://www.hashemian.com/tools/form-post-tester.php/

    *Note: If the results displayed is 'N/A', you either provided an invalid code or no data was found under that code because no data was saved originally or it was purged by the system due to aging.


    Have a comment about the Form Post Tester/Viewer?
    View/Add comments

    *** FREE from hashemian.com *** see descriptions
    JavaScript Countdown/Count-up Timer/Clock JavaScript Web Page Load Time JavaScript Web Page Commenting JavaScript Visitor IP Address/Host
    HTML Form Submission Tool Email/String Encoder/CAPTCHA Hit Counter; Page Counter Connection Probe
    Reverse Whois Browser Simulator/emulator My IP Address, Whoami Whois
    Mail Exchanger (MX Record) Lookup Search Engine Rankings JavaScript Thousand Separator Windows File Search Utility
    Atomic Clock/Current Time Short/Small URLs Atomic Fortune Teller Port Scanner
    Generate Password Google/Yahoo Maps Web Page Load Timer Ping
    HTML, URL, Decimal Encoding/Decoding Form Post Tester/Viewer Web Scratchpad/Notepad/Clipboard RSS/ATOM Web Widget
    HTML/CSS Color Test Base64 Encoding/Decoding QR Code Generator Text Transform/Convert Capitalize
    Simple One-page Calendar Free Check/Cheque Generator GUID/UUID Generator  


    Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Privacy  |   Contact
    Donate Bitcoin: 1K9TzBvQ2oaEb4tX9t2vKDtZouMcpfV6QF
    © 2001-2017 Robert Hashemian   Powered by Hashemian.com