Closed xkasianx closed 2 years ago
Are you trying to load that second URL in your browser? It requires API Key authentication, so if you're either not providing any authentication, or you're providing cookie-based authentication, it will fail.
Yep,that was the problem.But why api sent me 404 instead of 401 or 400?
It's not found for that type of request. We've been working on improving those HTTP errors over the past few days. I'll add this one to my list.
Yeah definitely return a 401
please.
This request https://api-trade.opskins.com/ITrade/GetUserInventory/v1/?uid=1&app_id=1 gives user with steamid 76561197973578969, but this gives https://api-trade.opskins.com/ITrade/GetUserInventoryFromSteamId/v1/?steam_id=76561197973578969&app_id=1 404 ERROR.I'm doing something wrong or it's a bug ?