I need to make a request with PHP to a URL:
example.com?price=99&policy=100.
I am using curl and everything worked fine so far, the problem is that the GET variables are used in the page's JavaScript code in order to send tracking analytics and other stuff. Curl doesn't execute this JavaScript code since is not a JavaScript interpreter. I am building an API, so the function that calls the URL may not be executed by a browser.
Any suggestions on what can I do?