I have a API, where I want to pass a JSON into it as, text since the JSON might change based on values I recieve I want it dynamic and not fixed as a structure, but since outsystems takes any JSON in request and converts it into Structure I want to pass an json there and not a structure. how can I fix this ?What I did:
What happened:
What I need:is that the datum list must be a text value but be sent in the action itself as JSON but not structure so I have freedom to modify the keys and not just the values.Please help me with this as I am on a very short deadline
Hi Faizan Ul Haq,You need to right click to you method -> add input parameter -> Change the Send In property to Body.
Also , you need to change Request Format property to Text/plain
Cheers,Nam