- URL:
https://caoloon.com/portal/invitation/
- HTTP Methods:
GET, POST
Property | Type | Description |
---|
pageSize | Int | Size of the pages to return. |
page | Int | Which page to return. |
fetch('http://caoloon.com/portal/invitation/?pageSize=2', {
method: 'GET',
})
.then((response) => response.json())
.then((json) => console.log(json));
Expand
{
"models": [
{
"id": 649,
"sentAt": "2025-10-02T14:32:33.541494+02:00",
"sentToEmail": "leon+112@caoloon.com",
"sentBy": "leon+2@caoloon.com"
},
{
"id": 648,
"sentAt": "2025-10-02T14:29:40.586247+02:00",
"sentToEmail": "leon+92@caoloon.com",
"sentBy": "leon+2@caoloon.com"
}
],
"nextPage": 2,
"total": 53,
"pageSize": 2,
"page": 1
}
fetch('http://caoloon.com/portal/invitation/', {
method: 'POST',
body: JSON.stringify([
{ "email": "testmail1@caoloon.com", "offerHelp": true },
{ "email": "testmail2@caoloon.com", "offerHelp": false }
]),
})
.then((response) => response.json())
.then((json) => console.log(json));
Expand
{
sent: ["testmail1@caoloon.com", "testmail2@caoloon.com"]
}