Closed ThetNaungSoe closed 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!
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!