Closed mrtc0 closed 3 years ago
This PR is support dataset endpoint /api/dataset/#{format} .
dataset
/api/dataset/#{format}
query = '{"type":"native","native":{"query":"SELECT * FROM orders LIMIT 1;"},"database":1}' client.query_dataset(query: query) # =>[{"CREATED_AT"=>"2019-02-11T21:40:27.892", "PRODUCT_ID"=>14,"USER_ID"=>1,...}]
This endpoint requires a Content-Type header for application/x-www-form-urlencoded, so I made it possible to set custom headers.
Content-Type
application/x-www-form-urlencoded
Thanks!!!
This PR is support
dataset
endpoint/api/dataset/#{format}
.This endpoint requires a
Content-Type
header forapplication/x-www-form-urlencoded
, so I made it possible to set custom headers.