Closed Anatoliy057 closed 3 weeks ago
Hi @Anatoliy057 Could you give me your .hurl so I could add to the example folder for testing? Thanks.
@jellydn my working example is this
PROPFIND {{im_url}}/integration-manager/v1/webdav/caldav
Content-Type: text/xml; charset=utf-8
User-ID: {{user_id}}
Group-ID: {{group_id}}
Subgroup-ID: {{subgroup_id}}
Subgroups: {{subgroups}}
<?xml version="1.0" encoding="UTF-8" ?>
<D:propfind
xmlns:D='DAV:'
xmlns:A='http://apple.com/ns/ical/'
xmlns:C='urn:ietf:params:xml:ns:caldav'
>
<D:prop>
<D:resourcetype />
<D:owner />
<D:displayname />
<D:current-user-principal />
<D:current-user-privilege-set />
<A:calendar-color />
<C:calendar-home-set />
</D:prop>
</D:propfind>
but I think a simplified, uncluttered one is best (it would work if I did something on the server side)
PROPFIND {{url}}/
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8" ?>
<D:propfind
xmlns:D='DAV:'
>
<D:prop>
<D:resourcetype />
</D:prop>
</D:propfind>
hurl is one of the few tools (from what I have found) that allow you to test the WebDAV API. I like your extension, but it can't recognize these types of requests. I suspect the solution is to change the this line. I would contribute, but I don't know the nodejs, vscode extension api, and CONTRIBUTING.md is missing(
Methods:
After looking at the last rfc I realized that it is better to give the ability to list methods through the configuration, because there really are a lot of them and who knows what else there are...