Trying to add free license through this and running into one issue. It runs the request and poof NOTHING. I login like usually with steam-community and here is what I run
var self = community;
community.httpRequestPost({"uri": "https://store.steampowered.com/account/licenses/",
"followRedirect": true
}, function(err, response, body) {
self.httpRequestPost({
"uri": "https://store.steampowered.com/checkout/addfreelicense/",
"data": {
"action": "add_to_cart",
"g_sessionID": community.getSessionID(),
"subid": "20017",
},
});
console.log(community.getSessionID());
});
});