Skip to main content

http_call_bytes

Function http_call_bytes 

Source
pub fn http_call_bytes(
    url: &[u8],
    method: &[u8],
    body: &[u8],
    out: &mut [u8],
) -> Result<usize>
Expand description

Makes an HTTP oracle call.

Returns the number of bytes written to out, or a negative error code.