我有一种方法适用于非SSL API的调用,但每次请求HTTPS-only API时,它都会给出以下错误响应:757:unexpected token at '!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN head title 400 Bad Request / title / head body h1 Bad“
757: unexpected token at '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
</p>
</body></html>
我有一种方法适用于非SSL API的调用,但每次请求HTTPS-only API时,它都会给出以下错误响应:757:unexpected token at '!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN head title 400 Bad Request / title / head body h1 Bad“
757: unexpected token at '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
</p>
</body></html>