Exam4Training

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

Exit mobile version