[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: najja
Subject: call-process
Date: Thu, 28 Aug 2008 03:20:00 -0700 (PDT)
User-agent: G2/1.0

Hi there,

I want the use curl to send my post to blogger data api. The following
command works perfectly in the command line of my windows box:

curl -v --header "string in e-blog-auth" -d "@d:\.myemacs\e-blog-tmp"

However, when I translate it into the following call-process, it
returns a error message called "Content is not allowed in prolog".

(call-process "curl" nil e-blog-buffer nil
                  "-v" "--header"
                  "--header" "Content-Type: application/atom+xml"
                  "-d" "\"@d:\\.myemacs\\e-blog-tmp\""

Is there anything wrong with the function?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]