Skip to main content

post_shortcuts

Function post_shortcuts 

Source
async fn post_shortcuts<T: Serialize>(
    cx: &ToolCtx<'_>,
    route: &str,
    body: &T,
) -> Result<Value>
Expand description

POST to /api/v1/ui/shortcuts/{route} and return the response’s data.