We are seeing a lot of POST requests by bots to /register pages or pages with forms. This is likely an attempt to make an SQL injection.

What's the best way to log the full POST request and see the payload data?


2 Answers 2


You may use HTTP Request Logger module.

  • Thanks - Any Drupal 7 ideas? This module is Drupal 8 & above.
    – JM John
    Apr 13, 2023 at 23:28

If you are Nginx, below answer is the easiest way to log POST requests including data being carried.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.