Sending a POST HTTP request encoding parameters
HTTP protocol supports some types of verbs. A verb is a way to ask a remote server something. Some of these verbs are GET
, POST
, PUT
, DELETE
, HEAD
, PATCH
, TRACE
, and OPTIONS
. For a detailed description of HTTP protocol, you can read the related RFCs at the following URLs:
- RFC7230, about HTTP/1.1 protocol: https://tools.ietf.org/html/rfc7230
- A specific section about the available verbs in the HTTP/1.1 protocol: https://tools.ietf.org/html/rfc7231#section-4
When you write a URL in the browser address bar and hit Return, you are issuing a GET
request to the remote HTTP server. However, when you have to send form data to the server, usually the HTML form uses the POST
method. POST
is designed to allow a ...
Get Delphi Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.