After customizing the default login page for a reverse proxy under management/C/login_success.html, these changes worked fine.
Then I wanted to change to login_success.html, and added a new one file named, login_success.json, with a json content.
After this I went to the reverse proxy configuration file, and changed the login entry to:
# Page displayed after successful login
login-success = login_success.json
I deployed the changes, restarted the Reverse proxy, but
the system still returns the html file, and not the json file.I went to the log files, and validated the config_data_*.log. It is using the json file!
What am I missing?
I noticed that the parameter default-response-type is set to text/html, and I am trying to send a json file.
If this is the problem, how can I simulate a restAPI in response to pkmslogin.form?
If I have to change the default-response-type and set it for application/json to be used exclusively for this login page?
From what I managed to find, ISAM restAPI, are only for ISAM management support!
------------------------------
Joao Goncalves
Pyxis, Lda.
Sintra
+351 91 721 4994
------------------------------