const express = require('express');
var bodyParser = require('body-parser')
app.use(bodyParser.urlencoded({ extended: false }))
// parse application/json
app.use(bodyParser.json())
app.post("/callback", async (req, res) => {
if (req.headers.verifac !== "your set verification string (So random people can't trick your server)") return res.status(401).send("Hackers suck");
// now you are certain that the server is who it says it is (Coin Tunnel)
if (req.body.status !== "ok") console.log(req.body) // If something went wrong
let note = req.body.note;
// You can then give the user something based on the note that you set earlier!
return res.send("That was easy!")
app.listen(port, () => console.info(`Listening on port ${port}`));