I have an AWS project and I need the web application’s root URL to produce a 405 status code for methods except POST or GET. I attempted to modify the middleware in each lambda project to deny those connections. However, the root URL continues to allow them. Can anyone provide solution for this?
PeggyProfessional
How to restrict 405 (method not allowed response) code for GET and POST methods?
Share