Forum Discussion

Mohanad's avatar
Mohanad
Icon for Cirrostratus rankCirrostratus
Nov 10, 2024

Parsing JSON Request

Hello

 

Please I'm having an issue with parsing JSON request.

 

the request look like this

 

In this case, the top-level object has a single key-value pair:

Key: "data"

Value: Another object containing 11 key-value pairs:

"ver": "01"

"reqRefNum": "2f6a21"

 

{ "data": { "ver": "01", "reqRefNum": "2f6a21ed-49bc-4049-88a3-5f3face08973", "reqDateTime": "2024-11-10 07:14:46.271", "collectionNetwork": "01", "paymentChannel": "04", "payerAddress": "test@testing.net", "collectionAmount": "10.00", "validity": "30", "merchantId": "Maxtest@Kito", "merchantRefNum": "1864f4cf-0bbc-4c5d-ac91-da85ea2fb302", "acquirerBankId": "8" } }

 

I created JSON Profile, and F5 ASM after parsing, "data" parameter value is empty, and learning suggestion to add new 11 parameters (ver, reqrefnum, reqdatatime, etc...)

 

I added "data" manually in parameter page on F5 ASM and i changed parameter value type to JSON and it's not make any difference.

No RepliesBe the first to reply