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