generate_curl_command

Function generate_curl_command 

Source
pub fn generate_curl_command(
    url: &str,
    method: &str,
    params: Value,
    headers: Option<&[String]>,
    jwt: Option<&str>,
) -> String
Expand description

Generates a curl command for an RPC request.

This is a standalone helper that can be used to generate curl commands without going through the transport layer.