QuestionQ42

VerifiedTransform and format data with DataWeave

A web client makes a request to http://localhost:8081?dept=sales.

What is the correct DataWeave expression for accessing the value of dept?

Explanation

HTTP Listener query parameters are exposed through the Mule message attributes.queryParams map. Dot selection of dept retrieves the sales value from that map.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!