summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/http-console2
-rw-r--r--dist.ini1
2 files changed, 2 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;
diff --git a/dist.ini b/dist.ini
index 56d80f9..2dde1b5 100644
--- a/dist.ini
+++ b/dist.ini
@@ -11,3 +11,4 @@ repository_at = github
github_user = franckcuny
[ReadmeFromPod]
[CheckChangeLog]
+[UploadToCPAN]