Forum Discussion
fpt_371479
Nimbostratus
Sep 06, 2018Could F5 return a JSON string with a specific http status code (503 for example) if an API is down?
If someone tries to reach out our UIs via a VIP and all instances are down, we display a maintenance page (html). We are looking to do something equivalent if our API is down, meaning that we want to...
rob_carr
Cirrocumulus
Sep 06, 2018This should be possible. You can use the HTTP::respond command with a specific response code of your choice along with custom content - no reason that can't be a JSON string, along with appropriate headers.
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