curl-library
Re: Missing result values/attributes when executing a http post request with curl
Date: Fri, 23 Jun 2017 02:57:26 -0400
On 6/22/2017 9:38 AM, Berger, Hans-Peter AG/BHL-ESC wrote:
>
> a few days ago I installed curl and use it in different applications.
>
> At the moment I try to run a post request (SOAP). My xml result looks
> fine, but when I compare it with the result of the firefox browser
> addon “http requester” I can see a difference.
>
> I have an attribute with name urlLocation and a corresponding value.
>
> In my request with curl I get this attribute only once, while I get
> the same attribute with the firefox http requester twice.
>
> So my question is: What can be the reason for this difference? Is
> there a special option which I have to set to get also both values
> with curl?
>
> Is the problem description precise enough at all to answer my question?
>
Are you using the command-line curl tool or just the curl library
(libcurl)? This is the libcurl mailing list. Anyway there's not enough
information to answer your question. Are you supposed to get the same
attribute twice? Maybe there is some difference in headers or the way
you are posting the data. Are you setting the content type header to
xml? Tell us more about exactly how you are sending the data, and the
curl -V or curl_version() information.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-06-23