Glossary

POST request explained.

A POST request is the HTTP method used to send data to a server to create or submit something, such as the fields of an HTML form.

Definition

How a POST request works

HTTP has a small set of methods that say what a request intends. GET asks a server for something and should never change anything, which is why you can refresh a GET page safely. POST does the opposite: it sends data in the request body and asks the server to act on it, typically to create or submit something new. Because a POST has an effect, it isn't safe to blindly repeat, and browsers warn before resubmitting one. The data rides in the body rather than the URL, so it isn't capped by URL length and isn't left sitting in browser history or server logs, and a Content-Type header tells the server how that body is encoded. The server does the work and replies with a status code that reports the outcome.

An HTML form with method="post" is the everyday example: on submit, the browser gathers the fields, encodes them, and POSTs them to the form's action URL.

For a form backend that action points at a hosted endpoint, so when a visitor submits, the browser POSTs the fields straight to FormWire, which receives, filters, stores and delivers them.

Related questions

Want to see it working?

Read the docs
Ready in a minute

Send your first form POST.

Free tier forever. No credit card required.