-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Area: BT&WifiBT & Wifi related issuesBT & Wifi related issuesStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.
Description
Board
WT32-ETH01
Device Description
none
Hardware Configuration
nothing.
Version
latest master
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80
PSRAM enabled
no
Upload speed
921600
Description
I am sending a POST request to pair with a https server on a insecure line to get the timestamp and auth key.
On this Post request the Https server response with the timestamp and auth key, but the httpclient library does not read anything from a POST request
Sketch
httpSecure.setURL(("/pair"));
httpCode = httpSecure.POST(json);
String payload = httpSecure.getString();
Serial.println(payload);
Debug Message
Sending pair request to https
[D][HTTPClient.cpp:579] sendRequest(): request type: 'POST' redirCount: 0
[I][ssl_client.cpp:127] start_ssl_client(): WARNING: Skipping SSL Verification. INSECURE!
[D][HTTPClient.cpp:1125] connect(): connected to IP:port
[D][HTTPClient.cpp:1257] handleHeaderResponse(): code: 200
[D][HTTPClient.cpp:1260] handleHeaderResponse(): size: 169
[D][HTTPClient.cpp:603] sendRequest(): sendRequest code=200
[D][HTTPClient.cpp:1394] writeToStreamDataBlock(): connection closed or file end (written: 169).
[D][HTTPClient.cpp:385] disconnect(): tcp keep open for reuse
Other Steps to Reproduce
Tried to read the headers and set the arduino IDE in Debug. The debug mode shows that the size of the header is greater then 1 (so i assume that the data is in the header), but can't reach it.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Area: BT&WifiBT & Wifi related issuesBT & Wifi related issuesStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.