Skip to content

Commit

Permalink
Update index.js (#247)
Browse files Browse the repository at this point in the history
Signed-off-by: Atharv Desai <[email protected]>
  • Loading branch information
Otherwa authored Nov 28, 2023
1 parent a3e5a8c commit 70598d8
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,21 @@ $('#emailclick').click(() => {
$('#subscribed').hide();
$('#error').fadeIn();
}
});
});

// callback
fetch("https://pingback-1-s5803083.deta.app/api/v1/events", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Api-Key": "1bc5d376-b6ab-420b-b4bc-4116042a7e6d",
},
body: JSON.stringify({
project: "Levaccine",
channel: "default",
name: "test",
title: "Page Get 👩‍🚀🚀",
description: "Noice",
icon: ":rocket:",
})
});

0 comments on commit 70598d8

Please sign in to comment.