[−][src]Macro wayfinder::post
Create a Resource
for an HTTP POST request.
let create_person = post!(People::Create);
Use the sigil ->
at the start to indicate a redirect-style route.
let create_person_redirect = post!(-> People::Create);
Add query parameters after the handler name.
let search = post!(Search, param!(q: String));