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