We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4e2ce9 commit f830fadCopy full SHA for f830fad
1 file changed
priv/post.erl.eex
@@ -90,7 +90,7 @@ request(Client, Action, Input, Options) ->
90
Input = Input0,
91
<% end %>
92
Payload = <%= context.encode %>,
93
- SignedHeaders = aws_request:sign_request(Client1, <<"POST">>, URL, Headers, Payload),
+ SignedHeaders = aws_request:sign_request(Client1, <<"POST">>, URL, Headers, Payload<%= if context.module_name == "aws_apigatewaymanagementapi" or String.contains?(context.module_name, "aws_bedrock") do %>, [{uri_encode_path, true}]<% else %><% end %>),
94
Response = hackney:request(post, URL, SignedHeaders, Payload, Options),
95
handle_response(Response).
96
0 commit comments