🌐POST Request
Also known as POST, HTTP POST, POST Method
A web request that sends new data. It often makes something new.
Think of it like
Think of it like a postbox. You drop in a letter with something new for them to keep.
Example
Emma fills in a sign-up form and presses the button. Her browser sends a POST with her name and email, and the server makes her account.
Why it matters
Most forms, uploads and new records reach a server by POST.
Definition
Example code
http
POST /api/users HTTP/1.1
Host: example.com
Content-Type: application/json
{"name": "Emma"}Common mistake
Key takeaways
- 1Sends new data. Often to create a thing.
- 2Data in the body. JSON or form fields.
- 3Not safe to repeat. Twice can mean two copies.