From 994e811e8eb013968470a8d8230f929ca6715983 Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Wed, 5 Jul 2017 01:41:24 -0400 Subject: [PATCH] test token --- travis.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis.pl b/travis.pl index 382c61148..2beb5dccb 100644 --- a/travis.pl +++ b/travis.pl @@ -156,8 +156,8 @@ sub send_back_comment{ } } - print "[send_back_comment] method = $post_method to $post_url \n"; - `curl -v -H "Authorization: token 7333caf3936a938ad0803e7a297423e43f69fb62" -X POST -d '{"body":"$message"}' $post_url 2>&1 > /dev/null`; + print "[send_back_comment] method = $post_method to $post_url by token\n"; + `curl -v -H "Authorization: token 7333caf3936a938ad0803e7a297423e43f69fb62" -X $post_method -d '{"body":"$message"}' $post_url 2>&1 > /dev/null`; } #--------------------------------------------------------