fetch call

fetch(“https://publicactiontrigger.azurewebsites.net/api/dispatches/{owner}/{repo}”, { method: ‘POST’, mode: ‘cors’, body: JSON.stringify({ event_type: ‘some-event’, client_payload: { data: ‘somedata’ } }) });