diff --git a/web/vibe/web/rest.d b/web/vibe/web/rest.d index f6886d398..ac09c94ed 100644 --- a/web/vibe/web/rest.d +++ b/web/vibe/web/rest.d @@ -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);