aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJefferson Julio <[email protected]>2022-05-15 21:08:07 -0300
committerJefferson Julio <[email protected]>2022-05-15 21:08:07 -0300
commitb38b775980d117ada07dc9f8e23c228bc23bcbdd (patch)
treefab5f1fb3b4c6578baddeb3293403988951bc1ca
parent7a1d0f95822a06be1db201ad3724e51a2160818d (diff)
downloadrest-run-b38b775980d117ada07dc9f8e23c228bc23bcbdd.tar.bz2
rest-run-b38b775980d117ada07dc9f8e23c228bc23bcbdd.zip
Little fix.
-rwxr-xr-xrest-run10
1 files changed, 5 insertions, 5 deletions
diff --git a/rest-run b/rest-run
index 97f6d1e..deaafcb 100755
--- a/rest-run
+++ b/rest-run
@@ -208,11 +208,11 @@ if [[ ${#ARGS[@]} -gt 1 ]]; then
fi
case "$rest_method" in
- POST|post);;
- GET|get);;
- PUT|put);;
- PATCH|patch);;
- DELETE|delete);;
+ POST);;
+ GET);;
+ PUT);;
+ PATCH);;
+ DELETE);;
*) fail-no-help "Invalid HTTP Verb $rest_method" ;;
esac