D
D
DanKud2016-05-06 18:42:28
PHP
DanKud, 2016-05-06 18:42:28

How to send data by POST method to https://steamcommunity.com/tradeoffer/TRADE_OFFER_ID/accept?

You need to send data using the POST method, when loading the page, to the address https://steamcommunity.com/tradeoffer/TRADE_OFFER_... to accept the offer on Steam. Tried to send using various methods, both via cURL and via file_get_contents , but no result. Even the standard form submission returns a null page. Maybe someone has experienced sending POST data to accept offers from Steam?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Serpokryl, 2016-05-06
@graf_777_gos

To accept offers, at least you need to be logged in under the profile from which you want to accept. As an option, screw cookies from the browser to the curl (for example, you can steal them using Cookie Manager ) First
you need to make sure that you are at least logged into your account profile... use. This is how curl_setopt($cl, CURLOPT_COOKIEJAR, 'cookie.txt'); curl_setopt($cl, CURLOPT_COOKIEFILE, 'cookie.txt'); , where cookie.txt is your stolen account cookies from the browser, which are in the same folder with the php script launch file.
Then parse at least your inventory to check the performance of these cookies and your code (the test is to return the page with your profile to you)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question