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