HTTP DELETE

Jan Schenkel janschenkel at yahoo.com
Fri Feb 26 12:32:44 EST 2010


--- On Fri, 2/26/10, David Bovill <david at architex.tv> wrote:
> Is there any way to issue and HTTP
> DELETE command from Rev natively (not
> using curl?) - AFAIK this has not been added?
> 

AFAIK, you can use a 'delete URL' command:
##
delete URL "http://www.runrev.com/index.html"
##
returns "error 405: method not allowed" - good thing you need the right permissions to do this :-)
Depending on the server end, you'll either have to send the user and password along in the url, or set the http headers to handle the authentication.

HTH,

Jan Schenkel
=====
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


      




More information about the use-livecode mailing list