We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Every operation in the web gui results in a warning message, that the POST data sent by the device itself is wrong.
2024.12.2
Home Assistant Add-on
No response
ESP32-IDF
ESP32-S3 SuperMini
web_server
web_server: port: 80 ota: false version: 3
[W] [web_server_idf:070]�[1;31m[httpd]�[0;33m Only application/x-www-form-urlencoded supported for POST request
The request sent is indeed text/plan, not application/x-www-form-urlencoded:
Hypertext Transfer Protocol POST /light/metro_display/turn_on?brightness=95 HTTP/1.1\r\n Host: 192.168.2.81\r\n Connection: keep-alive\r\n Content-Length: 4\r\n User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\r\n DNT: 1\r\n Content-Type: text/plain;charset=UTF-8\r\n Accept: /\r\n
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The problem
Every operation in the web gui results in a warning message, that the POST data sent by the device itself is wrong.
Which version of ESPHome has the issue?
2024.12.2
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32-IDF
Board
ESP32-S3 SuperMini
Component causing the issue
web_server
YAML Config
Anything in the logs that might be useful for us?
[W] [web_server_idf:070]�[1;31m[httpd]�[0;33m Only application/x-www-form-urlencoded supported for POST request
Additional information
The request sent is indeed text/plan, not application/x-www-form-urlencoded:
Hypertext Transfer Protocol
POST /light/metro_display/turn_on?brightness=95 HTTP/1.1\r\n
Host: 192.168.2.81\r\n
Connection: keep-alive\r\n
Content-Length: 4\r\n
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36\r\n
DNT: 1\r\n
Content-Type: text/plain;charset=UTF-8\r\n
Accept: /\r\n
The text was updated successfully, but these errors were encountered: