login about faq


I am using this example :

Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Chilkat_v9_5_0_TLB;


procedure TForm1.Button1Click(Sender: TObject); var http: TChilkatHttp; success: Integer; localFilePath: WideString;

begin http := TChilkatHttp.Create(Self);

// Any string unlocks the component for the 1st 30-days. success := http.UnlockComponent('Anything for 30-day trial'); if (success <> 1) then begin Memo1.Lines.Add(http.LastErrorText); Exit; end;

// Download a .zip localFilePath := '/temp/hamlet.zip'; success := http.Download('http://www.chilkatsoft.com/hamlet.zip',localFilePath); if (success <> 1) then begin Memo1.Lines.Add(http.LastErrorText); Exit; end;

// Download an XML file: // To download using SSL/TLS, simply use "https://" in the URL. localFilePath := '/temp/hamlet.xml'; success := http.Download('https://www.chilkatsoft.com/hamlet.xml',localFilePath); if (success <> 1) then begin Memo1.Lines.Add(http.LastErrorText); Exit; end;



But is it also posible to send POST-value's direct in the download request (optional in JSON format)? Looking at the POST examples, i can find a solution to combinate it.

Groetjes, Fonzie

asked Aug 07 '16 at 03:26

FonzieB's gravatar image


edited Aug 07 '16 at 03:29

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 07 '16 at 03:26

Seen: 1,342 times

Last updated: Aug 07 '16 at 03:29

powered by OSQA