Skip to content

How to sent data with mkcol? #79

Description

@spinne1000

I want to to something like this:
curl -u user -X MKCOL 'http://localhost:5232/user/calendar' --data \ '<?xml version="1.0" encoding="UTF-8" ?> <create xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:I="http://apple.com/ns/ical/"> <set> <prop> <resourcetype> <collection /> <C:calendar /> </resourcetype> <C:supported-calendar-component-set> <C:comp name="VEVENT" /> <C:comp name="VJOURNAL" /> <C:comp name="VTODO" /> </C:supported-calendar-component-set> <displayname>Calendar</displayname> <C:calendar-description>Example calendar</C:calendar-description> <I:calendar-color>#ff0000ff</I:calendar-color> </prop> </set> </create>'

Who can I do this with the WebDavClient?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions