HTTP Component

This component makes an HTTP Request. The base URL is passed in from a Web Service Resource. Further configuration, such as the method, body, headers, and cookies are passed into the component via an HTTPRequest

Data Governance

This component does not modify the Data Governance status of any items.  

Input Channels

default — Executes an HTTPRequest object. The HTTP Request should include the request method (e.g. GET, POST, etc), the request path (relative to the baseURL of the resource), and any headers or body that is to be sent.

Output Channels

success — When the response code is a 2xx or a 3xx response, outputs an HTTPResponse Object that contains the response body (if any), the response headers, and "cookies" (which includes all the cookies sent in via the HTTP Request, plus any cookies returned by the server)

failure — When the response code is a 4xx or a 5xx response, outputs an HTTPResponse Object that contains the response body (if any), the response headers, and "cookies" (which includes all the cookies sent in via the HTTP Request, plus any cookies returned by the server)

error — Outputs ErrorOutput objects when an error happens while executing the HTTP Request.

Parameters

resource — (HTTP Resource) The resource defining the service to which this component should connect

accepts — (String) The value to use for the “Accepts” HTTP Header

successStatusCodes — (String, default: 200-206, 300-308) a comma-separated list of integer status codes that should be considered “successes”, such as 200, 201, 300, etc.  

failureStatusCodes — (String, default: 400-417) a comma-separated list of integer status codes that should be considered “failures”, such as 400, 401, 500, etc.  

retryStatusCodes — (String, default: 429) A comma-separated list of integer status codes that should prompt a retry of the request, such as 429. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us