cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: post without specific variable name

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Jan 2002 14:33:58 +0100 (MET)

On 24 Jan 2002, Robin Ericsson wrote:

> I'm trying to reproduce the following javacode into c.
>
> This is no problem except for "writer.println(theXMLMessage)", which is a
> java string containing a XML document..
>
> curl doesn't seem to want to post without naming a variable, using libcurl
> 7.9.2.

I don't know any internals that backs up that statement. When libcurl sends a
POST, it sends whatever data you tell it to, it certainly has no knowledge
about naming variables or similar. That's a concept far beyond libcurl's
sphere of knowledge.

[ java code cut out ]

Instead of posting the (working) java code, why don't you instead show us the
C code that doesn't work?

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