CGI question: http "PUT" and "DELETE"

David Bovill david at openpartnership.net
Wed Jun 27 19:36:11 EDT 2007


On 27/06/07, Andre Garzia <andre at andregarzia.com> wrote:
>
> it's fairly easy. If you're serving using apache just check the
> $REQUEST_METHOD environment variable, it will contain the method used to
> access your cgi.
>
> Like:
>
> switch $REQUEST_METHOD
> case "POST"
> -- do post stuff
> break
> case "PUT"
> -- do put stuff
> break
> case "DELETE"
> ...
>
> and so on...
>
> hope I helped.


Yes indeed.

Does libUrl do http Put and Delete - put and delete examples are all ftp
that I can see?



More information about the use-livecode mailing list