summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/http-console2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/http-console b/bin/http-console
index 1fd4fd3..25aaad8 100644
--- a/bin/http-console
+++ b/bin/http-console
@@ -39,7 +39,7 @@ while (defined(my $in = $term->readline($prompt))) {
         ($content, $result) = $http_console->anonymous;
         say $result->content;
     }
-    elsif ($in =~ /^(POST|PUT)\s(.*)(?:\s\-d\s(.*))$/) {
+    elsif ($in =~ /^(POST|PUT)\s(.*)(?:\s(.*))$/) {
         my $method       = $1;
         my $path         = $2;
         my $data         = $3;