抓首页的api

https://myip/api/components/search_projects?ps=50&facets=reliability_rating,security_rating,security_review_rating,sqale_rating,coverage,duplicated_lines_density,ncloc,alert_status,languages,tags,qualifier&f=analysisDate,leakPeriodDate&filter=query = "devcloud"&s=analysisDate&asc=false

var base64encodedData = ("admin:admin").toString('base64');

request.open("POST", "http://localhost:9000/api/qualityprofiles/copy?fromKey=" + fromKey + "&toName=" + name, true);

request.setRequestHeader("Authorization", "Basic " + base64encodedData);

request.send();

The response is 405, no method found.

使用postman

 

精彩内容

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: