Need to enable http put but disable webdav | Community
Skip to main content
Employee
Mar 12, 2021 11:01 AM UTC
Solved

Need to enable http put but disable webdav

We have a connector which uploads file using Asset API HTTP Put to upload any new assets into AEM OnPrem.
The issue we are facing is when we disable WebDAV in AEM, the HTTP PUT also stops. 
Is there a way to allow to upload assets via HTTP PUT while keeping WebDAV disabled.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Mar 13, 2021 2:32 PM UTC

What API are you using to upload? How do the requests look like?

 

Jörg

6 replies

joerghoh
joerghohAccepted solution
Employee
Mar 13, 2021 2:32 PM UTC

What API are you using to upload? How do the requests look like?

 

Jörg

Translate
tasunil1Author
Employee
Mar 15, 2021 4:25 AM UTC
Hello Jörg , it is HttpPut api with the file and put request entity, HttpPut put = new HttpPut(makeHttpUrl(url)); put.setEntity(new FileEntity(new File(diskPath))); try (CloseableHttpResponse response = HttpClientFactory.executeRequest(put)) Thanks Regards
Translate