A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid.
How can the data be validation before posting to the target system?
To validate the data before posting to the target system, the developer should add the JSON module dependency and add the validate-schema operation in the flow, configured to reference the schema. The JSON module provides a validate-schema operation that validates a JSON payload against a JSON schema and throws an error if the payload is invalid. Reference: https://docs.mulesoft.com/json-module/1.1/json-validate-schema
Limited Time Offer
25%
Off
Jody
10 months agoTien
10 months agoMarguerita
10 months agoDana
9 months agoDomonique
9 months agoPolly
9 months agoNancey
10 months agoSheldon
9 months agoKeshia
9 months agoMoira
9 months agoErick
9 months agoAmos
10 months agoAndree
10 months agoFairy
10 months agoNobuko
11 months agoCaprice
10 months agoMarget
10 months agoCasandra
10 months agoHuey
10 months agoEna
10 months ago