I have implemented Facebook login with Strapi, and there’s a requirement from Facebook to have a data deletion request callback URL.
So I have created an endpoint in Strapi to handle it. However Facebook isn’t sending a POST request that uses Content-Type application/json
but application/x-www-form-urlencoded
.
ctx.request.body is not able to read the data Facebook POST properly. Any idea how to fix this? Is it required to enable urlencoded() like express?