cleanup, docs
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
# http_request
|
||||
|
||||
```cpp
|
||||
DValue http_request(DValue req)
|
||||
```
|
||||
|
||||
Performs a bounded outbound HTTP(S) request using the runtime `curl` binary. Request fields: `method`, `url`, `headers`, `body`, `timeout_ms`, `follow_redirects`.
|
||||
|
||||
Returns `{ status, headers, body, error }`. `headers` is a name/value map. A missing `curl` binary returns a clear `error` string.
|
||||
|
||||
Reference in New Issue
Block a user