Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...