Forum Discussion
Sandeep_Krishna
Nimbostratus
Feb 20, 2014F5 irule intercept and configured JSON response question
Hi - I have a question on F5 irules. I need F5 to intercept a request to a weblogic server and respond with a JSON object. I have the following irule to perform this action. However the F5 intermitte...
Christian_30338
Mar 11, 2014Historic F5 Account
There is a problem with your HTTP::respond as well. You need to escape the "json" variable in your example as the quotation marks are not being handled correctly. I have used this in the past and I know it works, try adapting it.
set jsonLogout "\{\"Status\":\"OK\"\}"
HTTP::respond 200 content $jsonLogout Content-Type "application/json; charset=utf-8"
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