put

Function put 

Source
pub fn put(path: impl Into<String>, response: Value) -> CustomEndpoint
Expand description

Helper function to create a simple PUT endpoint with a static JSON response.