[Haskell-cafe] Network.Curl and posting XML data
Dmitry Olshansky
olshanskydr at gmail.com
Tue Aug 11 23:39:03 EDT 2009
Hi, Erik,
Did you try Network.HTTP? Is it not enough?
2009/8/12 Erik de Castro Lopo <mle+hs at mega-nerd.com <mle%2Bhs at mega-nerd.com>
>
> Hi all,
>
> I need to do a HTTP post of XML data (Content-type == "text/xml") to
> a HTTP (eventually HTTPS) server and to retrieve both the response
> code and some returned XML data.
>
> I have had an extensive read of the haskell-curl docs:
>
>
> http://hackage.haskell.org/packages/archive/curl/1.3.5/doc/html/Network-Curl.html
>
> as well as playing around with some code, but haskell-curl doesn't
> seem to support this. I've tried curlPost which along with not
> returning a response also insists on encoding my XML data as
> application/x-www-form-urlencoded which simply doesn't work.
>
> Anyone ben able to get something like this to work? Are there any
> alternatives to haskell-curl which will work for my application?
>
> Cheers,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090811/4708717d/attachment.html
More information about the Haskell-Cafe
mailing list