The eventsLoadMethod property (string) specifies the HTTP request method used by events.load().
DayPilot.Calendar.eventsLoadMethod
"GET" - sends the event-loading request using HTTP GET.
"POST" - sends the event-loading request using HTTP POST.
"GET"
This setting affects requests issued by events.load(). If you provide the event data directly instead of loading it remotely, this property is not used.
const calendar = new DayPilot.Calendar("dp", {
eventsLoadMethod: "POST",
// ...
});
calendar.init();
<daypilot-calendar [config]="config"></daypilot-calendar>
config: DayPilot.CalendarConfig = {
eventsLoadMethod: "POST",
// ...
};
<DayPilotCalendar
eventsLoadMethod="POST"
{/* ... */}
/>
<DayPilotCalendar eventsLoadMethod="POST" <!-- ... --> />
DayPilot.Calendar.events.load()
Event Loading [doc.daypilot.org]
Events [doc.daypilot.org]