+ curl --header 'Authorization: Basic xx' --data project=ship_87894_6333-tx-fund-data_0 -i http://sonar.xx.com/api/projects/delete
10:00:58 % Total % Received % Xferd Average Speed Time Time Time Current
10:00:58 Dload Upload Total Spent Left Speed
10:00:58
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 254 100 216 100 38 3230 568 --:--:-- --:--:-- --:--:-- 3272
10:00:58 HTTP/1.1 301 Moved Permanently
10:00:58 Date: Tue, 13 Jul 2021 02:00:58 GMT
10:00:58 Content-Type: text/html
10:00:58 Content-Length: 216
10:00:58 Connection: keep-alive
10:00:58 Location: https://sonar.xx.com/api/projects/delete
10:00:58 X-Frame-Options: SAMEORIGIN
10:00:58
10:00:58 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
10:00:58 <html>
10:00:58 <head><title>301 Moved Permanently</title></head>
10:00:58 <body>
10:00:58 <center><h1>301 Moved Permanently</h1></center>
10:00:58 <hr><center>tengine</center>
10:00:58 </body>
10:00:58 </html>
将 http 请求改为https 即可