NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component?

Study for the MuleSoft Associate / Development Fundamental Test. Master key concepts with flashcards and multiple choice questions, complete with hints and explanations. Prepare thoroughly for your exam!

Multiple Choice

NOT a way to pass data to a RESTful web service in a flow using an outbound HTTP Request component?

Explanation:
When a flow calls an external REST service with an outbound HTTP Request, the data you send is carried in the request itself: the URL (including any query parameters), the headers, and the body of the request. You can supply these in several normal ways: put data in the URL as query parameters, add headers for metadata or auth, and include the payload in the body for POST/PUT requests. Outbound properties are another way to influence the outgoing request and are set on the message before the HTTP call to affect how the request is carried out. Inbound properties, however, come from the incoming request to your flow. They describe what your service received and are not used to convey data to the REST service you’re calling. So setting inbound properties before the HTTP Request would not pass data to the downstream REST endpoint.

When a flow calls an external REST service with an outbound HTTP Request, the data you send is carried in the request itself: the URL (including any query parameters), the headers, and the body of the request. You can supply these in several normal ways: put data in the URL as query parameters, add headers for metadata or auth, and include the payload in the body for POST/PUT requests. Outbound properties are another way to influence the outgoing request and are set on the message before the HTTP call to affect how the request is carried out.

Inbound properties, however, come from the incoming request to your flow. They describe what your service received and are not used to convey data to the REST service you’re calling. So setting inbound properties before the HTTP Request would not pass data to the downstream REST endpoint.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy