Skip to content

Commit

Permalink
Merge pull request #2796 from WebFreak001/patch-2
Browse files Browse the repository at this point in the history
fix viaHeader example in docs
  • Loading branch information
s-ludwig authored Apr 6, 2024
2 parents f10ce9b + 922376d commit 992a638
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 992a638

Please sign in to comment.