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