Skip to main content

howl_request

Function howl_request 

Source
pub fn howl_request(method: &Value, url: &Value, opts: &Value) -> DogeResult
Expand description

howl.request(method, url, opts) — the general HTTP(S) client. method is one of [HTTP_METHODS] (case-insensitive). opts is a Dict (or none for no options) with optional keys "headers" (a Dict of Str→Str) and "body" (a Str, sent UTF-8, or Bytes, sent raw); any other key is a ValueError. Same return shape and transport-error rule as howl_get, with response headers included.