mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
use compact json for request body
This commit is contained in:
parent
d56c70fe52
commit
def39fc3f9
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ AsyncWebRequest& AsyncWebRequest::bodyRaw(std::string_view const fields) {
|
||||||
|
|
||||||
AsyncWebRequest& AsyncWebRequest::body(matjson::Value const& fields) {
|
AsyncWebRequest& AsyncWebRequest::body(matjson::Value const& fields) {
|
||||||
m_impl->m_isJsonRequest = true;
|
m_impl->m_isJsonRequest = true;
|
||||||
return this->bodyRaw(fields.dump());
|
return this->bodyRaw(fields.dump(matjson::NO_INDENTATION));
|
||||||
}
|
}
|
||||||
|
|
||||||
AsyncWebRequest& AsyncWebRequest::timeout(std::chrono::seconds seconds) {
|
AsyncWebRequest& AsyncWebRequest::timeout(std::chrono::seconds seconds) {
|
||||||
|
|
Loading…
Reference in a new issue