Search code examples
ibm-mobilefirstmobilefirst-adapters

MobileFirst - Remove -secure- sentence from the adapter response


It's possible to remove the "/*-secure-" sentence from the response of the worklight adapter?

/*-secure-
{"isSuccessful":true,"result":"CC: No subscription found for user :: 11111"}*/

version: Mobilefirst 7.0.0


Solution

  • You can take a look at the answers in this other OS question

    Calling Worklight adapter from external app

    I believe it is not possible to remove the /*-secure from the response. As responded in that question, it is a feature to avoid XSS atacks.