Search
⌃K
README
How to read this book
The cURL project
Network and protocols
Install curl
Source code
Build curl
Command line basics
Using curl
HTTP with curl
Protocol basics
Responses
Authentication
Ranges
HTTP versions
Conditionals
HTTPS
HTTP POST
Simple POST
Content-Type
Posting binary
JSON
URL encoding
Convert to GET
Expect 100-continue
Chunked encoded POSTs
Hidden form fields
Figure out what a browser sends
JavaScript and forms
Multipart formposts
-d vs -F
Redirects
Modify the HTTP request
HTTP PUT
Cookies
HTTP/2
Alternative Services
HTTP/3
HSTS
HTTP cheat sheet
Scripting browser-like tasks
FTP with curl
Using libcurl
HTTP with libcurl
Bindings
libcurl internals
Index
Powered By GitBook

HTTP POST

POST is the HTTP method that was invented to send data to a receiving web application, and it is how most common HTML forms on the web work. It usually sends a chunk of relatively small amounts of data to the receiver.
This section describes the simple posts, for multipart formposts done with -F, check out Multipart formposts.
  • ​Simple POST​
  • ​Content-Type​
  • ​Posting binary​
  • ​JSON​
  • ​URL encoding​
  • ​Convert to GET​
  • ​Expect 100-continue​
  • ​Chunked encoded POSTs​
  • ​Hidden form fields​
  • ​Figure out what a browser sends​
  • ​JavaScript and forms​
Previous
HTTPS
Next
Simple POST
Last modified 30d ago
Export as PDF
Copy link
Edit on GitHub