post https://mixpanel.com/api/query/jql
The HTTP API is the lowest-level way to use JQL. At its core, the API is very simple: you write a script, and you post it to an API endpoint with some authentication parameters.For longer scripts, you will likely want to keep the code in a file. If you had your script in a file called my_query.js, you could run it using the following cURL command:curl curl https://mixpanel.com/api/query/jql \ -u YOUR_API_SECRET: \ --data-urlencode script@my_query.js
Note* Queries will timeout after 2 minutes of run-time.* You cannot make remote network requests (using XMLHttpRequest) from JavaScript.