Command Type
Command Type ID: 1001Parameters
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’sdata. 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
Related Commands
- JSON Parse - Parse HTTP response data
- Json Path - Extract data from HTTP responses
- Validation Commands - Validate HTTP responses
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