Access API via cookie #442
Unanswered
FrancisBehnen
asked this question in
Specific APIs
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have this weird API that doesn't allow me to use any of your authentication methods (as far as I can tell). I extracted the cookie it uses for identification from my browser session. This works fine in Postman, but doesn't work in Grafana with Infinity. I'm at a total loss as to what's going on, especially because the
curl
command Infinity generates actually does work.Example URL: https://nrt.cmems-du.eu/thredds/ncss/global-analysis-forecast-wav-001-027?var=VHM0&longitude=-7.42&latitude=55.3&disableProjSubset=on&horizStride=1&time_start=2022-10-01T03%3A00%3A00Z&time_end=2022-11-03T00%3A00%3A00Z&accept=csv
(You'll have to create an account at http://resources.marine.copernicus.eu if you want to check it for yourself)
This
curl
command works, as long as the cookie hasn't expired:However, the panel doesn't work, most of the time. I have seen the data in the panel twice now, but it disappears as quickly as it appeared, and I have no clue why. Could you provide me with any insights as to what's going on?
This is the panel JSON:
Beta Was this translation helpful? Give feedback.
All reactions