Skip to content

Conversation

@AnassKartit
Copy link

Summary

Fixes curl syntax errors that would cause API example commands to fail.

Changes

  • -h-H (lowercase is help, uppercase is headers)
  • -f-F (lowercase is fail-silently, uppercase is form data)
  • Single quotes → double quotes around $AZURE_AI_AUTH_TOKEN to enable shell variable expansion
  • Removed trailing whitespace after line continuation backslashes

Impact

All curl examples in the affected file were broken and would not execute successfully. These fixes ensure users can copy-paste and run the examples as expected.

- Change -h to -H for header flags (lowercase is help, uppercase is headers)
- Change -f to -F for form data flags in file upload example
- Use double quotes for Bearer token to enable variable expansion
- Remove trailing whitespace after line continuation backslashes
@AnassKartit AnassKartit requested a review from a team as a code owner January 19, 2026 16:17
Copy link
Contributor

@sdgilley sdgilley left a comment

Choose a reason for hiding this comment

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

Auto-approved by content maintenance automation

This PR has been automatically validated and approved because:

  • No deleted files are referenced in documentation
  • No renamed files are referenced in documentation
  • No deleted cells/snippets in modified files that are referenced in docs

If you notice any issues, please add a comment and we'll review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants