post

Function post 

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

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