What is the correct DataWeave expression to access the firstName parameter?

A web client submits a request to http://localhost:8081?flrstName=john.

What is the correct DataWeave expression to access the firstName parameter?
A . #[attributes.queryParams.firstName]
B . #[message.queryParams.hrstName]
C . #[message.inboundProperties.’http.query.params’.firstName]
D . #[attributes.’http.query.params’.firstName]

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments