Http
Node to make http requests. The node is fully executed after the response header is received. The http connection is kept open until the response body stream is fully read or somehow closed.
Inputs#
Port | Description |
---|---|
The http method to use for the request. | |
The URL to make the request to. Must start with http:// or https:// . |
|
Optional body to send with the request. | |
Optional headers to send with the request. |
Outputs#
Port | Description |
---|---|
The http request was successful. The status code is 2xx. | |
The http request was successful. The status code is not 2xx. | |
The status code of the response. | |
The response body. |
Addendum#
HTTP status messages provide information about the outcome of an HTTP request. They are categorized into five groups:
-
1xx Informational: The request was received and the process is continuing.
- 100 Continue: The server has received the request headers, and the client should proceed to send the request body.
- 101 Switching Protocols: The requester has asked the server to switch protocols, and the server is acknowledging that it will do so.
-
2xx Success: The request was successfully received, understood, and accepted.
- 200 OK: The request was successful.
- 201 Created: The request was successful, and a new resource was created.
-
3xx Redirection: Further action must be taken to complete the request.
- 301 Moved Permanently: The resource has permanently moved to a new URI.
- 302 Found: The resource has temporarily moved to a different URI.
-
4xx Client Error: The request contains bad syntax or cannot be fulfilled.
- 400 Bad Request: The server could not understand the request due to invalid syntax.
- 401 Unauthorized: Authentication is required and has failed or has not yet been provided.
-
5xx Server Error: The server failed to fulfill a valid request.
- 500 Internal Server Error: The server encountered an unexpected condition.
- 503 Service Unavailable: The server is not ready to handle the request, often due to maintenance or overload.
ID: http@v1