mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
12 lines
249 B
Rust
12 lines
249 B
Rust
use tuono_lib::Request;
|
|
|
|
#[tuono_lib::api(GET)]
|
|
async fn read_catch_all_parameter(req: Request) -> String {
|
|
let param = req
|
|
.params
|
|
.get("catch_all")
|
|
.expect("Failed to get the catch_all param");
|
|
|
|
param.to_string()
|
|
}
|