I
I
ifaceman2016-10-24 15:59:25
JSON
ifaceman, 2016-10-24 15:59:25

How to put cookie in json request?

Good day!
I execute the request steamcommunity.com/market/pricehistory/?country=RU...
- works fine if I'm logged into steam.
When trying to execute in an incognito tab, the query returns []. The same request is made when loading the page https://steamcommunity.com/market/listings/730/Gam... (everything works correctly even in the incognito tab).
Perhaps the point is that when visiting the page, it gives out a sessionid, which is somehow used in the request.
368a5251f487480495526e10a54e8824.JPG
How can I put these parameters in the request ( steamcommunity.com/market/pricehistory/?country=RU... ) so that I don't have to get them when visiting the page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alino4ka, 2016-11-09
@Alino4ka

Do you need to get prices in rubles?
If yes, then they are tied to the account, you cannot change them for guests, authorization is required.

Similar questions
K
kocherman2012-07-25 17:44:39
Is it possible to use such construction in html