Added debugging
parent
a492f8f12c
commit
999504f9df
2
index.js
2
index.js
|
@ -20,6 +20,8 @@ express().use(express.json())
|
||||||
})
|
})
|
||||||
.post('/', async (req, res) => {
|
.post('/', async (req, res) => {
|
||||||
|
|
||||||
|
console.log(`Received POST`)
|
||||||
|
console.log(req.body)
|
||||||
// Check token
|
// Check token
|
||||||
try {
|
try {
|
||||||
const data = await verify(process.env.HCAPTCHA_SECRET, req.body['token'])
|
const data = await verify(process.env.HCAPTCHA_SECRET, req.body['token'])
|
||||||
|
|
Loading…
Reference in New Issue