HTTP DELETE

Jim Ault jimaultwins at yahoo.com
Fri Feb 26 15:42:02 EST 2010


You could build a utility CGI to delete files on a server in irev,  
revcgi, or php, pearl,   and not have to worry about authorization.

Jim Ault
Las Vegas

On Feb 26, 2010, at 10:17 AM, Andre Garzia wrote:

> wow that actually works!?!
>
> I thought you had to use raw sockets to do such things...
>
> On Fri, Feb 26, 2010 at 2:32 PM, Jan Schenkel  
> <janschenkel at yahoo.com> wrote:
>
>> --- 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







More information about the use-livecode mailing list