fix postFields not setting isPostRequest to true

This commit is contained in:
matcool 2024-01-09 18:31:55 -03:00
parent 2540790ccb
commit 91703e4192

View file

@ -522,6 +522,7 @@ AsyncWebRequest& AsyncWebRequest::customRequest(std::string const& request) {
}
AsyncWebRequest& AsyncWebRequest::postFields(std::string const& fields) {
m_impl->m_isPostRequest = true;
m_impl->m_postFields = fields;
return *this;
}