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