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
1 years agoTien
1 years agoMarguerita
1 years agoDana
11 months agoDomonique
12 months agoPolly
12 months agoNancey
1 years agoSheldon
12 months agoKeshia
12 months agoMoira
12 months agoErick
12 months agoAmos
1 years agoAndree
1 years agoFairy
1 years agoNobuko
1 years agoCaprice
1 years agoMarget
1 years agoCasandra
1 years agoHuey
1 years agoEna
1 years ago