From 9902de283728db3d360425a5e612653056f6fff4 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 24 Feb 2024 11:18:38 -0800 Subject: [PATCH] dynamodb uses POST for operations --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index dc082e2..c18a12e 100644 --- a/src/main.zig +++ b/src/main.zig @@ -91,7 +91,7 @@ fn executeOperation( } fn authenticateUser(allocator: std.mem.Allocator, context: universal_lambda_interface.Context, target: []const u8, headers: std.http.Headers, body_reader: anytype) !void { var request = signing.UnverifiedRequest{ - .method = std.http.Method.PUT, + .method = std.http.Method.POST, .target = target, .headers = headers, };