From 922376deeb2aca7835529753b08a89a525a14054 Mon Sep 17 00:00:00 2001 From: Jan Jurzitza Date: Fri, 5 Apr 2024 23:33:42 +0000 Subject: [PATCH] fix viaHeader example in docs --- web/vibe/web/rest.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);