cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: install

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 5 Jan 2002 12:39:55 +0100 (MET)

On Fri, 4 Jan 2002, rick vaillancourt wrote:

> /*
> I made this a char* instead of hard coding the curl_easy_setopt cmd,
> I added slashes in front of the double quotes
> */
>
> char *theURL =
> "111.111.111.111/cgi-forte/fortecgi?pagename=&serviceName=dev4&XMLData=<?xml
> version=/"1.0/" encoding=/"ISO-8859-1/"?><MyData field1=/"1/"
> field2=/"2/"></MyData>"

This URL is not good. You can't have spaces in a URL, you need to convert
them to %20 instead.

Also, set CURLOPT_VERBOSE to TRUE to get more details. I often shows where
the problem is and it gives us a lot more info when you report
problems/questions...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-01-05