Archived Forum Post

Index of archived forum posts


REST Response Download Content

Nov 14 '14 at 11:51

Hello at all,

i need please help while downloading from a REST Webservice. I use the actually http-Chilkat library.

I call a Webservice. The request need informations about authenfication and file my request. when i do this in browser then the "save as" popup is shown and i can download the file.

How can i handle this with chilkat?

if i do this:

resp = http.SynchronousRequest("",80,false,req);

The resp has no information about the file.

Please help me. Thank you


Hi Leon. Please post the .LastErrorText so that we can better understand what is going on.


The first argument to SynchronousRequest is a domain (or an IP address). Pass only the domain, such as "". The Path part of the URL is passed in the HttpRequest object..