Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

trying to delete one folder using CURL + AEM 6.1

Mahesh_Vikram
Level 5
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