The values are sent in the request body, in the format that the content type specifies.
Usually the content type is application/x-www-form-urlencoded
, so the request body uses the same format as the query string:
parameter=value&also=another
When you use a file upload in the form, you use the multipart/form-data
encoding instead, which has a different format. It’s more complicated, but you usually don’t need to care what it looks like, so I won’t show an example, but it can be good to know that it exists.
Related Posts:
- How do I send a POST request with PHP?
- What is the difference between a URI, a URL and a URN?
- What is the difference between POST and GET? [duplicate]
- application/x-www-form-urlencoded or multipart/form-data?
- application/x-www-form-urlencoded or multipart/form-data?
- What’s the difference between a POST and a PUT HTTP REQUEST?
- What’s the difference between “Request Payload” vs “Form Data” as seen in Chrome dev tools Network tab
- What is the difference between POST and PUT in HTTP?
- What is the difference between POST and PUT in HTTP?
- Should a 502 HTTP status code be used if a proxy receives no response at all?
- HTTP Status 504
- Do I need Content-Type: application/octet-stream for file download?
- Problem HTTP error 403 in Python 3 Web Scraping
- Problem HTTP error 403 in Python 3 Web Scraping
- Is 418 “I’m a teapot” really an HTTP response code?
- How to define the basic HTTP authentication using cURL correctly?
- How to define the basic HTTP authentication using cURL correctly?
- “Cannot GET /” with Connect on Node.js
- “CAUTION: provisional headers are shown” in Chrome debugger
- Why is it said that “HTTP is a stateless protocol”?
- What’s the difference between using application/csv vs text/csv? [duplicate]
- How is an HTTP POST request made in node.js?
- What are all the possible values for HTTP “Content-Type” header?
- What is the difference between PUT, POST and PATCH?
- Exception in thread “main” java.net.NoRouteToHostException: No route to host
- ndroid 8: Cleartext HTTP traffic not permitted
- Can PHP cURL retrieve response headers AND body in a single request?
- Setting Curl’s Timeout in PHP
- Why am I suddenly getting a “Blocked loading mixed active content” issue in Firefox?
- wget: unable to resolve host address `http’
- Are HTTP headers case-sensitive?
- When looking at the differences between X-Auth-Token vs Authorization headers, which is preferred?
- WordPress HTTP parameter pollution
- Does WordPress send data about your blog to WordPress.org or Automattic?
- Hiding WordPress REST API v2 endpoints from public viewing
- Does WordPress only support HTTP 1.1?
- How do I troubleshoot responses with WP HTTP API?
- Is curl required?
- The resource was preloaded using link preload but not used within a few seconds
- using wp_remote_get to retrieve own url on local host
- Using wp-cron in backpress – problems with wp_remote_post, fsockopen error
- Running index.php from command line & load balancer health checks
- Enable CORS in wordpress
- Change port of wordpress
- How to get value of custom http header?
- Several times request to load plugins when sending one request
- why is $_REQUESt[‘redirect_to’] empty?
- Get “HTTP/1.1 406 Not Acceptable” when accesing my website with Delphi Indy Control
- WordPress HTTP 500 Error “page isn’t working”
- What’s the point in having “www” in a URL?
- For what is the “.well-known”-folder?
- Human readable format for http headers with tcpdump
- How to make wireshark filter POST-requests only?
- Image file urls still point to http instead of https
- What are the -Xms and -Xmx parameters when starting JVM?
- How to download a file over HTTP?
- Possible reason for NGINX 499 error codes
- HTTP GET request in JavaScript?
- Why am I getting “Error socket hang up” response?
- Unable to verify leaf signature
- Send POST data using XMLHttpRequest
- How do you pass a function as a parameter in C?
- What is “String args[]”? parameter in main method Java
- Make a HTTPS request through PHP and get response
- Invalid URI: The format of the URI could not be determined
- How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?
- Passing just a type as a parameter in C#
- node-request – Getting error “SSL23_GET_SERVER_HELLO:unknown protocol”
- What is HTTPD exactly?
- JavaScript post request like a form submit
- Bad Request, Your browser sent a request that this server could not understand
- What does the construct x = x || y mean?
- fixing errors on a program to call methods in java
- Passing a hexadecimal value into a module in Verilog
- Javascript- Multiplying 2 numbers and return number
- POST an array from an HTML form without javascript
- Query multiple WordPress post types alternately
- How to remove rest api link: in http headers?
- How to receive HTTP POST in WP?
- wp_remote_get() not retrieving pages properly
- Setting Last Modified HTTP Header on static Home Page
- Remove HTTP: from the site URL and just keep // in it
- Redirect from https to http or from http to https? [closed]
- Remove the http protocol from images
- Disabling the X-Redirect-By response header
- problem using WP_Http with paypal nvp api
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- Handling the response sent from a ruby on rails application in wordpress
- Divert http to https with WordPress on IIS
- Warning: Use of undefined constant HTTP_USER_AGENT – assumed ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP)
- WordPress 502 | Header Upstream send too big
- WordPress index.php seems to perform unwanted redirect 301
- HTTP Error upload ( localhost )
- Why does WordPress uses HTTPS for JS, CSS on EC2
- After changing Site http to https, can’t access wp login page with a digitalocean hosting
- WP Rest Api GET method restriction on route, but POST method also works
- Modify wp headers on specific page
- Get full page HTML for a non-public WordPress page
- Detect if request is coming from wordpress conditional statement
- Can you pass user/pass for HTTP Basic Authentication in URL parameters?