simPod/GrafanaJsonDatasource

Requests with params containing ":" character

JohnDuff44 opened this issue · 3 comments

Hello,

I would like to request an API but params require a ":" character.
Something like : /api/search?query=toto:chips+tata:bacon

In grafana, I've created the new source with the url /api/search
And when I create a new panel with params :

key : query
value : toto:chips+tata:bacon

It doesn't work.

I also tried :

key : query
value : toto%3Achips+tata%3Abacon

But still doesn't work

Is there a way to make it work ?

Thanks
Have a good day,

Can you investigate why it "doesn't work"?

Hello,
Thanks for replying.

The endpoint is a public web endpoint so it's difficult to investigate.

If I try to go on the endpoint with Google Chrome, I get the data.
But I think grafana doesn't interpret correctly the colon character in request params. So I don't get the wanted data.

What information do you need exactly ?

Dunno, something that tells us what's wrong.

Try to reproduce. There's example server you can use https://github.com/simPod/GrafanaJsonDatasource/tree/0.6.x/examples/server