/Notifications/destinations/test
POST
/Notifications/destinations/test
const url = 'https://api.chatfood.app/Notifications/destinations/test';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "kind": 1, "endpoint": "example" }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.chatfood.app/Notifications/destinations/test \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "kind": 1, "endpoint": "example" }'Authorizations
Seção intitulada “Authorizations”Request Body
Seção intitulada “Request Body”object
kind
integer format: int32
endpoint
string
object
kind
integer format: int32
endpoint
string
object
kind
integer format: int32
endpoint
string
object
kind
integer format: int32
endpoint
string
Responses
Seção intitulada “Responses”OK