techdocsmith opened a new issue, #13193: URL: https://github.com/apache/druid/issues/13193
Currently we have user/pass in the URL for some API examples. For example [SQL-Based ingestion](https://druid.apache.org/docs/latest/multi-stage-query/api.html#request) has: ``` # curl curl --location --request POST 'https://<username>:<password>@<your-instance>:<port>/druid/v2/sql/task/' \ ... # python url = "https://<username>:<password>@<your-instance>:<port>/druid/v2/sql/task/" ``` OOB Druid has basic auth off, so for cp/paste, I think it might be better to have auth in the headers instead. For example: ``` #curl curl --location --request POST 'https://ROUTER_HOST:ROUTER_PORT/druid/v2/sql/task/' \ --user USER:PASSWORD ``` -- 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]
