On looking into this further. The problem seems to be how the data is
handled by the POST in cURL. All newlines are removed, which breaks the
iCalendar recurrence block.
I have been using:
"curl -H <authentication headers> -d <xml data> <url>"
to POST the data, which I have as a text string.
Is anyone able to give me a pointer as to make this work better in
cURL?
I tried url-encoding the data, which broke the XML. I also tried using
the "--data-string" flag, but this doesn't seem to work in my version
of cURL.
Thanks for any help & best wishes