Forum Discussion
Srini_87152
Cirrostratus
Feb 21, 2017Restrict POST for uri based
Hi Team,
Im looking irule for restrict the POST method based on uri..
example: if your coming abc.com/test only allow POST method and rest should reject.
1 Reply
- Vijay_E
Cirrus
Untested:
when HTTP_REQUEST { if { ([HTTP::host] eq "abc.com") and ([HTTP::uri] eq "/test") and ([HTTP::method] ne "POST") } { reject } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects