Skip to main content
The HTTP Request command (Command Type: 1001) makes a single HTTP/HTTPS request through Stream’s Cloudflare-aware request service, with optional proxy. Use it for endpoints protected by Cloudflare challenges; for HTTP/2, TLS control or lower latency, use HTTP Request - Got.

Command Type

Command Type ID: 1001

Parameters

Usage Examples

Basic GET Request

POST Request with Body

Request Using Item State

${eventId} and ${token} resolve from the item’s state or earlier commands’ local variables, and ${runId} from the current run. See Placeholders.

Using the Response

The response body becomes the command result’s data. Follow with JSON Parse if the body is a JSON string, then Json Path to extract fields.

Error Handling

  • Timeout Errors: The command fails if the request exceeds timeout
  • HTTP Errors: Non-2xx responses fail the command unless their status is listed in bypassStatusCode
  • Network Errors: Connection failures fail the command

Best Practices

  • Keep credentials out of commands: Fetch tokens in an earlier step or command and reference them with placeholders
  • Set Appropriate Timeouts: Configure timeouts based on expected response times, within the step interval
  • Validate Responses: Add a Validation command before parsing

Troubleshooting

Request Timeout

  • Increase timeout, keeping it within the step interval
  • Check that the target server is reachable through the configured proxy

Authentication Errors

  • Check that the token placeholder resolves (run the step from the test panel)
  • Verify header names and formats the API expects