IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  ISAM content aware server responses

    Posted Tue November 19, 2019 10:54 AM
    ​Hello,

    we have API clients (not Browser based) that send POST request to pkmslogin.form like described here: https://www.ibm.com/support/knowledgecenter/SSPREK_9.0.7/com.ibm.isam.doc/wrp_config/task/tsk_submt_form_data_ws.html

    So far they got HTML responses to all login operations, which is not very nice. We would like to offer JSON responses like described here: https://www.ibm.com/support/knowledgecenter/en/SSPREK_9.0.6/com.ibm.isam.doc/wrp_config/concept/con_content_aware.html

    We do not get this specific combination to work. Has anybody done this and hints or tips?


    ------------------------------
    Jürgen Hitt
    ------------------------------


  • 2.  RE: ISAM content aware server responses

    Posted Tue November 19, 2019 10:58 AM
    Have you set the accept: application/json header?

    ------------------------------
    Regards Mikael
    ------------------------------



  • 3.  RE: ISAM content aware server responses

    Posted Thu November 21, 2019 04:39 PM
    Thank you. Now it works. I used the following command with success: 

    curl -k --insecure --proxy http://proxy:8080 -v -H "Content-Type: application/json" -d "username=<userid>&password=<pwd>&login-form-type=pwd" -X POST https://isam/pkmslogin.form

    ------------------------------
    Jürgen Hitt
    ------------------------------