mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	token test1
This commit is contained in:
		@@ -156,8 +156,9 @@ sub send_back_comment{
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
     print "[send_back_comment] method = $post_method to $post_url by token\n";
 | 
			
		||||
    `curl -v -H "Authorization: token bf43c85ee93d2fc18bd2c8446aa997c54fc2095b" -X $post_method -d '{"body":"$message"}' $post_url 2>&1`;
 | 
			
		||||
     print "[send_back_comment] method = $post_method to $post_url\n";
 | 
			
		||||
    `curl -v -H "Authorization: token bf43c85ee93d2fc18bd2c8446aa997c54fc2095b" -X $post_method -d '{"body":"$message"}' $post_url`;
 | 
			
		||||
    #`curl -v -H "Authorization: token $ENV{'xcatbottoken'}" -X $post_method -d '{"body":"$message"}' $post_url`; 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#--------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user