POST Data in a form

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

POST Data in a form

L1 Bithead

Greetings DevCenter,

I am trying to write a custom application that will prevent specific data in an HTTP Post. In the attached trace, I would like to block the phrase 'THISISATEST' in the POST but allow any other phrase. (In reality I would also key in on several other headers to make it site specific, but I am not having problems with that part)

I have tried many option to include 'http-req-message-body' using both string text and HEX.

Any help would be appreciated.

Chris Williams

1 accepted solution

Accepted Solutions

L1 Bithead

I finally ended up finding it with trial and error: http-req-params

View solution in original post


L4 Transporter


I believe what you are looking for in the pattern-match operator is context=http-req-host-header pattern=THISISATEST qualifier=http-method: POST.

Give that a try. I'm doing a custom application for one of our company's statistics applications via the GET method. Anytime it does a get on a very specific pattern to know if it is a customer GET or an employee GET.



Thank you for the reply, but that did not work either. I thought the host-header pattern only matched strings in the host header field. It does work when I add the sites hostname; but I am looking for form data.

Chris Williams

L1 Bithead

I finally ended up finding it with trial and error: http-req-params

  • 1 accepted solution
  • 3 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!