Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

What does the HTTP method setting do in an Aegisify WAF custom rule?

Each custom rule has a Method field. It decides which kinds of HTTP requests the rule applies to on its path. The field is in Aegisify WAF → WAF Settings → Custom Rules.

What the methods mean

  • ANY (default): the rule applies to every method on the path.
  • GET: reading a page or resource.
  • POST: submitting a form or creating data. Most login, comment, and checkout traffic uses POST.
  • PUT / PATCH: updating existing data, common in REST APIs.
  • DELETE: removing data through an API.
  • HEAD: like GET but returns only headers. Monitoring tools use it.
  • OPTIONS: browser “preflight” checks before cross-origin API calls.

Why narrow the method?

Most rules are written for one type of activity. A rule meant to watch login submissions does not need to match people simply loading the login page. Choosing POST for that rule:

  • Reduces false positives.
  • Keeps logs focused on the activity you care about.
  • Avoids interfering with crawlers or monitors that send GET or HEAD.

Examples

  • Block DELETE requests to a custom API path that should never delete anything publicly.
  • Log POST requests to /wp-login.php to observe login attempts.
  • Leave ANY when a path should never be reached at all, such as an abandoned endpoint.

Related: Path pattern matching, Rule actions.

2026-12-01T03:50:55+00:00January 12th, 2026||

Find this article interesting, please share.