Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d501e4

Browse files
authored
Update curl_cheatsheet.md
1 parent67830fd commit1d501e4

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

‎curl_cheatsheet.md‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,17 +549,31 @@ curl -s -u admin:admin -X POST http://localhost:4502/system/console/status-sling
549549
curl -u admin:admin -d"shutdown_type=Restart" http://localhost:4502/system/console/vmstat
550550
```
551551

552-
###Enable CRX DE
552+
###Enable CRX/De / WebDav
553553
enable wedav
554+
554555
```bash
555556
curl -u admin:admin -H User-Agent:curl -F"jcr:primaryType=sling:OsgiConfig" -F"alias=/crx/server" -F"dav.create-absolute-uri=true" -F"dav.create-absolute-uri@TypeHint=Boolean" -F"../../jcr:primaryType=sling:Folder" -F"../jcr:primaryType=sling:Folder" http://localhost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet
556557
```
557558

559+
or
560+
561+
```bash
562+
curl -u admin:admin -H User-Agent:curl -F"jcr:primaryType=sling:OsgiConfig" -F"alias=/crx/server" -F"dav.create-absolute-uri=true" -F"dav.create-absolute-uri@TypeHint=Boolean" -F"../../jcr:primaryType=sling:Folder" -F"../jcr:primaryType=sling:Folder" http://localhost:4502/apps/system/config/org.apache.sling.jcr.webdav.impl.servlets.SimpleWebDavServlet
563+
```
564+
558565
disable wedav
559566
```bash
560567
curl -u admin:admin -H User-Agent:curl -X DELETE http://localhost:4502/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet
561568
```
562569

570+
or
571+
572+
```bash
573+
curl -u admin:admin -H User-Agent:curl -X DELETE http://localhost:4502/apps/system/config/org.apache.sling.jcr.webdav.impl.servlets.SimpleWebDavServlet
574+
```
575+
576+
563577
###Enable Query Debug Log
564578
create Query Debug log file
565579
```bash
@@ -586,4 +600,4 @@ Start workflow
586600

587601
```bash
588602
curl -u admin:admin -H User-Agent:curl -F"payload=/content/aemdesign-showcase/en/component/lists/page-list" -F"payloadType=JCR_PATH" -F"workflowTitle=CurlTitle" -F"startComment=CurlComment" -F"model=/var/workflow/models/test1" http://192.168.27.2:4502/etc/workflow/instances
589-
```
603+
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp