You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this from web_server upon flipping any switch on the web UI (v3): 23:11:29 [W] [web_server_idf:070] [httpd] Only application/x-www-form-urlencoded supported for POST request
I get this from web_server upon flipping any switch on the web UI (v3):
23:11:29 [W] [web_server_idf:070] [httpd] Only application/x-www-form-urlencoded supported for POST request
That warning seems to be raised here: https://github.com/esphome/esphome/blob/dev/esphome/components/web_server_idf/web_server_idf.cpp#L69
Chrome confirms that it sent a
Content-Type: text/plain;charset=UTF-8
with theturn_on
request to the esp web server, so it seems like https://github.com/esphome/esphome-webserver/blob/dev/packages/v3/src/esp-entity-table.ts#L147 (if I'm looking in the right spot) should includeheaders: { "content-type": "application/x-www-form-urlencoded" }
.Related: esphome/esphome#6037
The text was updated successfully, but these errors were encountered: