RESTful Confluence Team Calendars

Here is a successfully processed request of REST API call for adding new events to Confluence Team Calendars.

PUT /confluence/rest/calendar-services/1.0/calendar/events.json?&os_authType=basic&os_username=admin&os_password=admin HTTP/1.1
content-type: application/x-www-form-urlencoded
Content-Length: 247
Host: 127.0.0.1:8190
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_222)
Accept-Encoding: gzip,deflate

what=Dies+ist+der+Subject&allDayEvent=false&endDate=25-Mar-2020&person=ff8081816fc8cc67016fc8d497d90000&startTime=2%3A25+PM&where=Stuttgart&eventType=Events&endTime=7%3A40+PM&subCalendarId=0d58ee49-31eb-4958-bdbd-b128bd9c7f01&startDate=25-Mar-2020

Monitor what happens when running your code with the free network sniffer Wireshark.