Skip to content

Commit

Permalink
fix viaHeader example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 authored Apr 5, 2024
1 parent f10ce9b commit 922376d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/vibe/web/rest.d
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
@path("/api/")
interface APIRoot {
// GET /api/header with 'Authorization' set
string getHeader(@viaBody("Authorization") string param);
string getHeader(@viaHeader("Authorization") string param);
// GET /api/foo?param=...
string getFoo(@viaQuery("param") int param);
Expand Down

0 comments on commit 922376d

Please sign in to comment.