jsonds icon indicating copy to clipboard operation
jsonds copied to clipboard

All requests return simple "ok" instead of fake data sets

Open Carmageddon opened this issue 7 years ago • 5 comments

I am trying to figure out why my Simple JSON Datasource plugin, is not getting anything from this json generator.

According to this: https://github.com/grafana/simple-json-datasource#simple-json-datasource---a-generic-backend-datasource There is a list of several entry points, I tried to mock them using Postman and send a POST request with the sample body - but I am only getting an "ok" back.

Why? What am I doing wrong?

I am trying to use this as a POC.

Carmageddon avatar Oct 31 '17 16:10 Carmageddon

Sorry for the delay!

Can you please give me an example of how you're posting the data?

smcquay avatar Jan 03 '18 19:01 smcquay

Hi,

Same here, looks like only the /query endpoint isn't implemented.

sgoodliff avatar Mar 12 '18 10:03 sgoodliff

Ah, yes, that's true. I'm happy to merge in any pull requests that could yield fake data on those endpoints, as examples.

Please let m know @Carmageddon or @sgoodliff

smcquay avatar Mar 20 '18 02:03 smcquay

Same here. It always responds with OK.

MarkoBursic avatar Dec 05 '19 18:12 MarkoBursic

Still willing to merge PRs.

smcquay avatar Dec 06 '19 00:12 smcquay