[Newbies] XML Post
Giovanni Corriga
giovanni at corriga.net
Sun Aug 19 11:42:47 UTC 2007
Il giorno ven, 17/08/2007 alle 17.01 +1200, Nick Ager ha scritto:
> Hi,
> I'm trying to perform an HTTP-POST an XML document to a server. I
> tried using HTTPSocket httpPostDocument:args:accept:request:
> However I'd like 'Content-type' to be set to 'text/xml' in the post
> header and the implementation of httpPostDocument:args:accept:request:
> contains:
> 'Content-type: application/x-www-form-urlencoded', CrLf,
> I've hacked my own version, but I feel I'm missing something. Is there
> a better way to do this in Squeak/Seaside.
Hi Nick,
my suggestion is to use libcurl with CurlPlugin. The interface is a bit
rough, but it's much more powerful.
Giovanni
More information about the Beginners
mailing list