AnsweredAssumed Answered

json respone to append with a key value

Question asked by Popleys on Jul 10, 2018
Latest reply on Jul 21, 2018 by guyd

Hi There,

When a client requests a service from the backend service I receive the below sample response, after receiving that first response I want to add one more attribute at the end of the response such see the second part and want to send it to the client. How can I perform it?

The first part of the response:

{
"username": "test@gmail.com",
"laguage": "en",
"type= : "lob"
}

 

Final respone to send back with addintonal attribute.

{
"username": "test@gmail.com",
"laguage": "en",
"type= : "lob",

"APIG" : "Dev"
}

Outcomes