Here is the basic code you would need. Will need to update the url and body to the webhook url and body you wish to post.
let url = 'webhook url here'
let body = {
//post body here as JSON
}
await fetch({
url,
method:'POST',
body: JSON.stringify(body),
headers:{
'Content-type':'application/json'
}
})