eschram Posted May 5, 2020 Report Share Posted May 5, 2020 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. Quote Link to comment Share on other sites More sharing options...
eschram Posted May 5, 2020 Author Report Share Posted May 5, 2020 Damn no one else knows either. Quote Link to comment Share on other sites More sharing options...
vrtgn Posted May 6, 2020 Report Share Posted May 6, 2020 (edited) Try adding a header referer to the inventory url. Edited May 6, 2020 by vrtgn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.