External REST/API Datasource with HTTP Headers

Dear all,

I would like to connect to external rest/api json database with HTTP header :

Header Key: Authorization
Header Value: GenieKey $apiKey

I didn’t find any clue on this on the SimpleJsonDatasource

Is there a way to do this ?
Thx & rgds,

Christophe.

Yes, but only via data source provisioning. As you cannot set http headers in the UI yet

@torkel Can we set the http headers in the UI in new release of grafana?
And also, could you please provide more info or examples on how we can connect with external REST API using datasource provisioning. I am also using SimpleJson Datasource.

Your help will be much appreciated.

Sourabh