Book Image

Delphi Cookbook

By : Daniele Teti
Book Image

Delphi Cookbook

By: Daniele Teti

Overview of this book

Table of Contents (14 chapters)
Delphi Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Sending a POST HTTP request encoding parameters


The HTTP protocol supports some types of verbs. A verb is a way to ask something to a remote server. Some of these verbs are GET, POST, PUT, DELETE, HEAD, PATCH, TRACE, and OPTIONS. For a detailed description of the HTTP protocol, you can read the related RFCs at the following URLs:

When you write a URI 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 uniform method to send a block of data, such as the result of submitting a form, to a data-handling process or to post a message to a bulletin board, newsgroup, mailing list, or similar group of articles. In other...