delete

Function delete 

Source
pub fn delete(
    url: &str,
    headers: Option<HashMap<&str, &str>>,
) -> Result<String, Box<dyn Error>>
Expand description

DELETE Request

§Example

use light_tool::http;
assert_eq!(http::delete("http://192.168.110.106:9900/api/v1/sys/param/quality/delete?identity=1", None).is_ok(), true)