login about faq

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("mywebservie.de/webservice1",80,false,req);

The resp has no information about the file.

Please help me. Thank you

asked Nov 06 '14 at 03:57

leon_20v's gravatar image

leon_20v
62610


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

link

answered Nov 12 '14 at 20:25

emartinson's gravatar image

emartinson
148162030

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

link

answered Nov 14 '14 at 11:51

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×186
×11

Asked: Nov 06 '14 at 03:57

Seen: 1,200 times

Last updated: Nov 14 '14 at 11:51

powered by OSQA