Forum Discussion
jaikumar_f5
Dec 12, 2019MVP
Hi
You should have to escape the " characters for that, else you'll see the message content alone.
The below should help.
when HTTP_REQUEST {
if { SOMECONDITION } {
HTTP::respond 200 content "<html><head><title>Maintenance Page</title></head><body>The mobile app is outdated. Please update using the links below: Android: Click <a href=\"https://play.google.com/store/\">here</a>, IOS: Click <a href=\"https://play.google.com/store/\">here</a></body></html>"
}
}
Notice - href=\" & \">here, hope this helps. I have tested too.
Please mark the thread as solved it this solves your requirement.
Edit: Forgot to tell, there is Ifile method as well. In case you want to explore that.