摘要:
提交key1=value1&key2=value2类型参数: 方法一: $textmod="key=$key&content=$data&touser=$touser" Invoke-WebRequest -UseBasicParsing $url -Method POST -Body $textm 阅读全文
摘要:
$someString = "key=MTZl&batch=1&content=nihao1052020-11-10" $md5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider $utf8 = 阅读全文
摘要:
import java.security.MessageDigest def today = new Date().format("yyyy-MM-dd") def snstr = ‘a=$a&b=$b&today=$today’ def sn = MessageDigest.getInstance 阅读全文
摘要:
#!groovy def call(reqMode,url,reqBody){ //调用httpRequest插件 if(reqMode == 'POST'){ response = httpRequest customHeaders: [[name: 'Content-Type', value: 阅读全文
摘要:
import jenkins,requests,urllib jenkins_server_url = 'http://jenkins.jk.com/' user_id = 'approver' api_token = '1187e29' # api_token = 'password' job_n 阅读全文