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
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.

1 participant