Expand my Community achievements bar.

trying to delete one folder using CURL + AEM 6.1

Avatar

Level 5

Hi All,

I am trying to delete one folder using CURL command, these is the error i am getting:-

 curl -u admin:admin -X DELETE http://localhost:4503/apps/dhl

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
    <head><title>405 Method DELETE not supported</title></head>
    <body>
        <h1>Method DELETE not supported</h1>
        <p>Cannot serve request to /apps/dhl on this server</p>

 

        <hr>
        <address>ApacheSling/2.4 (jetty/9.2.9.v20150224, Java HotSpot(TM) 64-Bit Server VM 1.8.0_71, Linux 2.6.32-504.el6.x86_64 amd64)</address>
    </body>
</html>

Thanks,

Mahesh

1 Reply