Azure Logic App validate http request body

Yash 86 Reputation points
2020-12-12T10:21:11.273+00:00

My logic app is getting triggered on http json request. I have specified the format of valid expected json body in the trigger as shown in the image.

47519-image.png

As per the image, n1 & n2 should be of integer type, but if a user is sending n1 or n2 as characters, the app is running the flow.

Can anyone please help me to understand, how can I configure the app in a way such that the app automatically(without adding any extra step) sends the error response if request body is not of valid type

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,899 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful