mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
token test
This commit is contained in:
parent
f356b13e65
commit
d653535de2
@ -157,7 +157,7 @@ sub send_back_comment{
|
||||
}
|
||||
|
||||
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`;
|
||||
`curl -v -H "Authorization: token bf43c85ee93d2fc18bd2c8446aa997c54fc2095b" -X $post_method -d '{"body":"$message"}' $post_url 2>&1`;
|
||||
}
|
||||
|
||||
#--------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user