We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How transform application/x-www-form-urlencoded to JSON payload using stage file?

Accepted answer
15
Views
3
Comments
edited Apr 19, 2021 7:55AM in Integration 3 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!