mirror of
https://github.com/zulip/zulip.git
synced 2026-06-03 21:01:43 +08:00
Updates the placeholder in the curl examples of the API docs for the user authentication line (-u) to be EMAIL_ADDRESS:API_KEY. Adds text to the top of the curl tab about the user authentication line with links to the curl man doc and the authorization header section of the HTTP headers article. If the endpoint does not have the user auth line (e.g., fetching an API key in dev and production), then the text is not added to the curl tab. Fixes #479.
307 B
307 B
The -u line implements HTTP Basic authentication.
See the Authorization header documentation for how
to get those credentials for Zulip users and bots.