get! : Str, fmt => Result body [HttpDecodingFailed, HttpErr _] where body implements Decoding, fmt implements DecoderFormatting
get! = |uri, fmt|
response = send!({ default_request & uri })?
Decode.from_bytes(response.body, fmt)
|> Result.map_err(|_| HttpDecodingFailed)
# Contributor note: Trying to use BadUtf8 { problem : Str.Utf8Problem, index : U64 } in the error here results in a "Alias `6.IdentId(11)` not registered in delayed aliases!".
## Try to perform an HTTP get request and convert the received bytes (in the body) into a UTF-8 string.
##
## ```
## # On the server side we, send `Str.to_utf8("Hello utf8")`