http_request
Make HTTP requests to test running web servers, returning status code and response body.
Instructions
Make an HTTP request and return the status code + response body (up to 4 KB). Use this to test running web servers after starting them with run_background_process. method: GET, POST, PUT, DELETE, PATCH body: optional JSON string for POST/PUT requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | No | ||
| method | No | GET |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |