RESTMessageV2 MID server example
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- Outbound REST Web Service
You can send an outbound REST message through a MID Server.
By sending the message through a MID Server, you can access endpoints that are behind a firewall or within a private network. All REST messages sent through a MID Server are asynchronous.
Example
Note: This example uses
waitForResponse
to pause for a response, and then
details how the response is handled. However, when using executeAsync
,
consider processing the response body in a separate business rule to take advantage of the
asynchronous call rather than using waitForResponse
.