Forum Discussion
veredgf
Nimbostratus
Sep 22, 2019custom response per uri with jason code
Hi, One of the developers would like to have a Jason custom response for ASM blocking for all pages beginning with (not real page) \blabla\* He would like to put a simple code that will send the se...
youssef1
Cumulonimbus
Sep 23, 2019Hi,
Using ASM_REQUEST_BLOCKING (https://clouddocs.f5.com/api/irules/ASM_REQUEST_BLOCKING.html) is also a good alternative.
you could also validate in the user request that it is an api request to adapt the answer (json or default web response).
regards
Walter_Kacynski
Cirrostratus
Sep 23, 2019It seems like this event would be more efficient as you wouldn't have to enable the ASM policy feature for iRule events.
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
