admin管理员组

文章数量:1130349

my router file:

webhooksRouter.route("/twilio/webhook").post(
  twilio.webhook({ validate: shouldValidate, authToken }),
  urlencodedParser(),
 messagesController.twilioWebhook
);

For some reason it will not validate our request. The docs make it look easy, but it's not working.

my router file:

webhooksRouter.route("/twilio/webhook").post(
  twilio.webhook({ validate: shouldValidate, authToken }),
  urlencodedParser(),
 messagesController.twilioWebhook
);

For some reason it will not validate our request. The docs make it look easy, but it's not working.

本文标签: nodejstwillio validation always returns 403 (NodeExpress)Stack Overflow