Answer the question
In order to leave comments, you need to log in
How to simulate a user request to a website via cURL?
I need to use cURL to simulate a user request to a website. Those. the user visits a page on my site, and the code sends a request via cURL to the site that I need.
Actually, the question itself is: Can I somehow get the user's cookie from another site in order to make a request via cURL? Or is there another way?
Answer the question
In order to leave comments, you need to log in
Well, probably, you need to do it in js. Try to do. Without breaking the law.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question