From 182bc1afe6ae0aef3562426dd33dcdf430e3fb0d Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 16 Jun 2018 22:37:23 +0100 Subject: [PATCH] Fix #7696: Servers do not get registered on master server list Correct the HTTP method used for the heartbeat request. --- src/openrct2/network/NetworkServerAdvertiser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/network/NetworkServerAdvertiser.cpp b/src/openrct2/network/NetworkServerAdvertiser.cpp index 8c8b034373..9565fdf2c0 100644 --- a/src/openrct2/network/NetworkServerAdvertiser.cpp +++ b/src/openrct2/network/NetworkServerAdvertiser.cpp @@ -127,7 +127,7 @@ private: { Http::Request request; request.url = GetMasterServerUrl(); - request.method = Http::Method::POST; + request.method = Http::Method::PUT; json_t * body = GetHeartbeatJson(); request.body = json_dumps(body, JSON_COMPACT);