...
- Create the desired query using the UI wizard. For more details, please watch the video Introduction to OpenSpecimen Query Tool - YouTube
- Once you are satisfied with the query results, do the following
- open the network tab in browser's inspect mode
- rerun the query
- you will notice a couple of API calls made to the resource
/query
usingHTTP POST
method - one call for obtaining the counts and another to obtain the data for display in grid - the POST request body will have the required AQL for use in running the queries programmatically
- use the POST request body to invoke the query API and get the required data
...