Hello, I keep getting a bad request error (400) when I try to post with this function. All the info I have in the function should be correct. Any ideas?
community.httpRequestPost("https://steamcommunity.com/market/sellitem/", {
data: {
'sessionid': sessionID,
'appid': 730,
'contextid': 2,
'assetid': 18534283110,
'amount': 1,
'price': 1
}
}, function(err) {
if (err) throw err;
});
It gets the sessionID variable from logging in, so that shouldn't be an issue.