zemin-piao commented on issue #11909: URL: https://github.com/apache/druid/issues/11909#issuecomment-981962361
> ```python > ```python > import requests > url = "http://localhost:8082/druid/v2/sql" > headers = {"Content-Type": "application/json"} > sql_json_for_query = """ > {"query": "select sum(\"count\") from wikipedia"} > """ > requests.post(url, sql_json_for_query, headers=headers).text > ``` > > > > > > > > > > > > ``` Thanks a lot, this works. Gonna close this issue then -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
