Response is not sending as Expected from Exposed REST Method
Application Type
Reactive

Hi,

I'm practicing Expose/Consume Rest methods in outsystems,

I've exposed a method and consumed the same but output is not coming as expected, attaching oap for the reference. Kindly help me on this.



Thanks,

Sai.

REST.oap

Hi,

you're expecting to receive text input but that's not happening while you sending the data from consumer it's in a JSON format

add the above structure in your REST module, you can directly copy from consumer module

now just deserialize the request before comparison then you can go to the true branch.



With Regards,

Sandeep. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.