HTTP Router
In this article
Overview
Use this Snap to route documents to output views based on the incoming HTTP request method. This Snap is primarily meant for use in Pipelines executed through Triggered Tasks. The Snap matches the HTTP request method used in the Triggered Task and routes the document to the corresponding output view as configured for the request method.
The input data must contain the correct content-type header based on your use case, else your pipeline fails.
Snap Type
HTTP Routers Snap is a Flow-type Snap that executes HTTP requests.
Prerequisites
None.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| A document containing the data to be processed based on the incoming HTTP request. |