kittoframework / kitto

Kitto is a framework for interactive dashboards written in Elixir
http://kitto.io/dashboards/sample
MIT License
956 stars 58 forks source link

Does not work curl in kitto #78

Closed ThetNaungSoe closed 7 years ago

ThetNaungSoe commented 7 years ago

use Kitto.Job.DSL

job :driver, every: {5, :seconds}, command: "curl -H 'Content-Type: application/json' -H 'Authorization: api-key 85k7a648-4366-58b3-b273-wju395e2274g' -X POST -d '{"sql":"select count(*) from TestApp","values":[]}' https://api.testapp.com/api/a/sql/"

Does not work above curl in kitto. Help!