After a successful login to the reverse proxy using pkmslogin.form, I need to return a json to logout.
I found that in case of errors, the reverse proxy returns the content of default.json
So I changed default.json to
{
"success": false,
"errorMessage": "%ERROR%"
}
unfortunately I also found out that if I want to logout (using pkmslogout) and want to return a json object, it returns default.json file too.
But since it is hard coded, success: is returning false, even if the logout was successful.
I searched for a macro I could use to replace "false" by the result of the call to the reverse proxy, and could not find.
Is there any way that I can return true in this situation?
------------------------------
Joao Goncalves
Pyxis, Lda.
Sintra
+351 91 721 4994
------------------------------