Skip to content

Comments

Updated auth to use variables with default values#16876

Merged
techdocsmith merged 3 commits intoapache:masterfrom
hevansDev:api-auth-header
Aug 23, 2024
Merged

Updated auth to use variables with default values#16876
techdocsmith merged 3 commits intoapache:masterfrom
hevansDev:api-auth-header

Conversation

@hevansDev
Copy link
Contributor

Fixes #13193

Description

Updated format of Python API requests in docs to match @techdocsmith comments in #13436

Release note

Updated Python API request examples in docs

-->



This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.

Copy link
Contributor

@techdocsmith techdocsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original ask was to put the curl auth in --auth rather than as parameters, but it looks like someone removed auth entirely from the curl requests.

Rather than add variables for the auth in the python examples, maybe let's just remove auth in python since it's off by default for Druid.

Copy link
Contributor

@techdocsmith techdocsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@techdocsmith techdocsmith merged commit 2f6722d into apache:master Aug 23, 2024
hevansDev added a commit to hevansDev/druid that referenced this pull request Aug 29, 2024
* Updated auth to use variables with default values

* Update docs/api-reference/sql-ingestion-api.md

* Remove Python auth entirely as its not being used

---------

Co-authored-by: Benedict Jin <asdf2014@apache.org>
edgar2020 pushed a commit to edgar2020/druid that referenced this pull request Sep 5, 2024
* Updated auth to use variables with default values

* Update docs/api-reference/sql-ingestion-api.md

* Remove Python auth entirely as its not being used

---------

Co-authored-by: Benedict Jin <asdf2014@apache.org>
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set username and pass in headers for HTTP API examples

4 participants