diff options
Diffstat (limited to 'restapi')
-rw-r--r-- | restapi/auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/restapi/auth.c b/restapi/auth.c index ad13798..dbe77d7 100644 --- a/restapi/auth.c +++ b/restapi/auth.c @@ -61,6 +61,7 @@ restapi_login(const char* username, const char* password) http_add_header("X-User-Id", userId->valuestring); http_add_header("X-Auth-Token", authToken->valuestring); http_add_header("Content-type", "application/json"); + http_add_header("Expect", ""); } else { const cJSON* msg = cJSON_GetObjectItemCaseSensitive(json, "message"); if (cJSON_IsString(msg) && msg->valuestring != NULL) |