How to validate json structure using shared flow and what policies are required?

 
0 3 90
3 REPLIES 3

Not applicable

In a shared flow use json threat protection. This will allow you do validate a json structure.

If you want to verify the keys and values, you can use javascript policy, as javascript supports json very well.

what should be the target url , as Api Json validation video https://www.youtube.com/watch?v=iO2CW6ymN7U shows target endpoint for proxy shoud be http://httpbin.org/post and in share flow video of 4M4D https://www.youtube.com/watch?time_continue=201&v=-7xx34uD8Kk&feature=emb_title its shown that one proxy should have taget url as http://mocktarget.apigee.net/json and other proxy shoud have http://httpbin.org/get. So i am confused about the taget endpoint for creating the proxy

Target URL is something known as your backend. IN the demo video they have used a dummy backend as mocktarget. You can change that to your desired one.