Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By dnts
#69692 I've tried http://www.posttestserver.com. Both methods post and upload the "file" (which is a 5-character string). The two posts in posttestserver are:
http://www.posttestserver.com/data/2017 ... 1687365710 for the form-based (ESP8266 successful method) and
http://www.posttestserver.com/data/2017 ... 1631253740 for the javascript (ESP8266 unsuccessful method).
I believe it does have something to do with the way ESP parses the request since the PHP based server was successful both times while ESP failed in one of them. Maybe it has something to do with LWIP implementation. Maybe not. Anyway - not a javascript problem although I suspect that once it gets figured out, javascript will need to provide the workaround.
Any other information needed?
User avatar
By tele_player
#69693 I meant a complete program, reduced to minimum.

You said that both requests are identical in Wireshark. How can ESP server parse them differently?

I'm not saying there isn't a bug in the ESP server. I just wonder what is different in the two POST requests.