格式错误的https post请求

格式错误的https post请求,https,arduino-esp8266,Https,Arduino Esp8266,我想从我的esp8266向firebase发送https post请求,我正在努力,所以我使用httpbin.org测试我从esp8266发送的http post请求,但我在控制台中得到了as响应 HTTP/1.1 400 Bad Request Server: awselb/2.0 Date: Fri, 21 May 2021 01:21:45 GMT Content-Type: text/html Content-Length: 122 Connection: close <html

我想从我的esp8266向firebase发送https post请求,我正在努力,所以我使用httpbin.org测试我从esp8266发送的http post请求,但我在控制台中得到了as响应

HTTP/1.1 400 Bad Request
Server: awselb/2.0
Date: Fri, 21 May 2021 01:21:45 GMT
Content-Type: text/html
Content-Length: 122
Connection: close

<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
</body>
</html>

那么我做错了什么?请注意,当我发送Get请求时,我会得到一个json响应和200个成功代码,那么我的post请求有什么问题呢POST@Juray谢谢你,穆奇,请将其作为答案发布,以便我将其标记为已解决
client.print(String("POST") + "/post" + " HTTP/1.1\r\n" +
               "Host: " + "httpbin.com\r\n"+
               "Content-Type: application/x-www-form-urlencoded\r\n" +         
               "Content-Length: 13\r\n\r\n" +
               "say=Hi&to=Mom\r\n");