Site Map Email Us Home
 
All Products
Clever Internet Suite
Clever Internet .NET Suite
Clever Internet ActiveX Suite
Clever Keyboard Indicator
Database Comparer
Database Comparer VCL
Database Comparer ActiveX
Interbase DataPump
Subscribe and receive email notifications on all major releases and other important events.
Your Name:
Your Email:
 

Best Offer for Delphi / C++ Builder Developers

 

Buy FIBPlus at discount price !

 
 
Products Articles Downloads Order Support
Components  | Samples  | FAQ  | Download  | Order  | History 
 

HTTP Request

Features  | Detailed Description 
 

The HTTP Request is a component from the Clever Internet Suite library.
It allows you to create request data to be sent to the server with the POST or GET HTTP methods.

Use this component together with HTTP Client for submitting created request data to a web server for processing by a CGI, ASP.NET or Java servlet.

Features:

  • Submit Form Values
  • Submit File requests using stream or file on the disk
  • Multipart Form data, Text, XML and Binary data
  • Parameter management - add/remove CGI name/value parameters to a HTTP request
  • Define most common HTTP headers such as Range, Accept, Content-Type and any custom headers
  • Can be used with any third party HTTP client
  • Free one year upgrades and support

Build New HTTP Request data in just few lines of code

The HttpRequest component allows easy creation of request data in any formats including "multipart/form-data", "application/www-form-urlencoded", "text/xml" or any custom format.

You can add each form value manually as well as extract and create them from existing HTML source, URL or HTML page with FORM controls saved to the file.

html.Add('<form action="http://www.domain.com/submit.asp" method="post">');
html.Add('<input type="text" name="username" value="John">');
html.Add('<input type="file" name="userfile">');
html.Add('<input type="submit" name="submit" value="submit"> </form>');

clHttpRequest1.BuildFormPostRequest(html);
httpClient.Post('http://www.domain.com/submit.asp', clHttpRequest1, response);

clHttpRequest1.AddFormField('username', 'John');
clHttpRequest1.AddSubmitFile('c:\file.zip');

httpClient.Post('http://www.domain.com/submit.asp', clHttpRequest1, response);

Build HTTP Request data in IDE design-time

With HttpRequest you can create Form Post or Submit File requests without writing a single line of the code.

Simple put the component on to the form and choose the desired option within the component editor: "Build by Url", "Build by File" or "Build by Text". After that the HttpRequest component will create all necessary request data and automatically change the HTTP header values.

Samples in Delphi and C++Builder

Please see the Demos code (FormPost, SubmitFile, SubmitWizard) and also the indexed Help documentation provided with the Clever Internet Suite installation to learn more about using this component in your application.

Complete Delphi source code

When Purchasing the Clever Internet Suite you receive the full sources for all suite components and also free unlimited support.

Interested?

 
Home  | Site Map  | Products  | Articles  | Downloads  | Order  | Support
 
    Copyright © 2000-2007