diff --git a/index.js b/index.js index 4a72a4e..f594529 100644 --- a/index.js +++ b/index.js @@ -141,7 +141,9 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) { self._request.post('https://steamcommunity.com/dev/registerkey', { "form": { "domain": domain, - "agreeToTerms": 1 + "agreeToTerms": "agreed", + "sessionid": self.getSessionID(), + "Submit": "Register" } }, function(err, response, body) { if(err || response.statusCode >= 400) {