Closed dyana0123 closed 3 months ago
Looks like there is nothing wrong with your request, I have been using the same for a while without issues.
curl -k -X "MKCALENDAR" -H "Content-Type:application/xml" -u "$user:$password" "$caldavurl/$user/calendar"
Maybe your databases is not properly initialized? Maybe delete everything of this user in the database?
I ran the following command:
curl -i -X"MKCALENDAR" -H"Content-Type:application/xml" -ujon.doe@some.dev:sample http://localhost:8080/cosmo/dav/jon.doe@some.dev/calendar
and i got a 201 status code
HTTP/1.1 201 Cache-control: no-cache
Hello when running ' curl -X"MKCALENDAR" -H"Content-Type:application/xml" -u${email}:${password} http://localhost:8080/cosmo/dav/{email}/calendar" ' I get the following error: <?xml version="1.0" ?>One or more intermediate collections must be created</C:calendar-collection-location-ok></D:error>
I'm running the application with a local instance of mariadb. Can you help me understand what can I do to make it work?