How transform application/x-www-form-urlencoded to JSON payload using stage file?
Content
Hello,
An external system invoking OIC with the request content-type application/x-www-form-urlencoded.
After decode the reference to string, how do I map to each of the field in the write stage file mapper?
String after decoded from reference: msgType=AC&msgToken=01&TxnId=1610181200130689&ExId=EX00002460
I want to transform it into JSON:
{
"fpx": {
"msgType": "AC",
"msgToken": "01",
"TxnId": "1610181200130689",
"ExId": "EX00002460"
}
}
Thank you & regards,
Leng
Tagged:
0