dguest / pandamonium

Command line scripts to parse panda web api
BSD 3-Clause "New" or "Revised" License
27 stars 17 forks source link

Figure out how to force the query to run again on the server #4

Closed dguest closed 7 years ago

dguest commented 7 years ago

If you run the same query twice, it seems pretty clear that the server sends a cached result the second time around. It would be nice to override this, but I have no idea how.

I suspect this is also why pasting the same URL into your browser will break subsequent calls via the command line. For some reason after the string has been used in the browser the calls from pandamon return HTML rather than json.

dguest commented 7 years ago

I filed a JIRA ticket as well: https://its.cern.ch/jira/browse/ATLASPANDA-325

dguest commented 7 years ago

I figured it out! You have to include a timestamp. Awesome.