HTTP PUT and DELETE
Mark Smith
mark at maseurope.net
Tue Jul 24 04:27:30 EDT 2007
On 24 Jul 2007, at 08:53, Dave Cragg wrote:
>
> On 24 Jul 2007, at 02:48, Mark Smith wrote:
>
>> This is mainly a question for Dave Cragg - apart from a discussion
>> a few years ago, I couldn't find anything in the archives, so I'm
>> wondering if libUrl supports these Http methods.
>>
>> I'm trying to write a little S3 client, using the REST api, so
>> it's going to need the Put and Delete Http methods, and so I'm
>> hoping that LibUrl will do the job - Dave?
>
> A weak answer. Yes, it supports them. But they've never really been
> tested. The problem is that so few http servers support PUT and
> DELETE. Usually the same functionality is provided using GET or
> POST in conjunction with some server side process such as CGI or php.
>
> If you run into trouble, drop a line.
>
Thanks, Dave. This is just a little project for it's own sake, so I
don't mind doing some testing:)
Would I use this syntax, having first called
libUrlSetCustomHttpHeaders (necessary for s3, anyway),:
"put someData into URL (someUrl)" and "delete URL (someUrl)?
Best,
Mark
More information about the use-livecode
mailing list