Commit fd77e463 authored by neilpang's avatar neilpang
Browse files

fix aws

parent fc9649db
...@@ -220,7 +220,10 @@ aws_rest() { ...@@ -220,7 +220,10 @@ aws_rest() {
_H2="Authorization: $Authorization" _H2="Authorization: $Authorization"
_debug _H2 "$_H2" _debug _H2 "$_H2"
url="$AWS_URL/$ep?$qsr" url="$AWS_URL/$ep"
if [ "$qsr" ]; then
url="$AWS_URL/$ep?$qsr"
fi
if [ "$mtd" = "GET" ]; then if [ "$mtd" = "GET" ]; then
response="$(_get "$url")" response="$(_get "$url")"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment