fix: correct curl syntax errors in API examples#468
Closed
AnassKartit wants to merge 1128 commits intomicrosoft-foundry:mainfrom
Closed
fix: correct curl syntax errors in API examples#468AnassKartit wants to merge 1128 commits intomicrosoft-foundry:mainfrom
AnassKartit wants to merge 1128 commits intomicrosoft-foundry:mainfrom
Conversation
Updated 10, 15 and 25
uncommented out
uncommented out model deployment
delete this file since its covered in 3ptool folder
delete this file since its already covered in 3p tool folder
Update Redteaming agent to go through FDP
…nguage-agents-fixes Mikaels/language agents fixes
…dvisor/tripadvisor.py
Fix missing JS files (looks like they were replaced)
* update readme * update readme * update * updat * help testing gateway setup --------- Co-authored-by: vtomar <vtomar@microsoft.com>
…foundry#422) * Added mvnet testing template added mvnet testing template * updates updates * More updates more updates
* removing unneeded header annotations * update TS sample from azure repo * add agent creation and chat quickstarts for TS * add CreateAgent and ChatWithAgent samples for Azure agent interaction --------- Co-authored-by: brandom-msft <brandom@microsoft.com>
* rename env vars in C# samples * move Java samples to branded directory naming * rename java env vars * update environment variable names for consistency across TypeScript samples * standardize environment variable names across Python samples
* Remove unused Azure.AI.Agents references in quickstart samples * Refactor quickstarts to streamline environment variable usage and object creation
final version of managed vnet with regions, outbound rules, readme updates
* add test script for connection * update * validate * add test --------- Co-authored-by: vtomar <vtomar@microsoft.com>
…y#443) Corrected the phrasing for registering the subscription with the preview feature in Azure Portal.
* add managed vnet for terraform * update example * update outputs and lifecycle * update vm password and tags
Updated CODEOWNERS to change ownership from @azure-ai-foundry to @microsoft-foundry for various files.
…oundry#451) * add troubleshooting guide * add troubleshooting guide * update --------- Co-authored-by: vtomar <vtomar@microsoft.com>
* update hosted agent samples Corrected the phrasing for registering the subscription with the preview feature in Azure Portal. * minor fix * add dotnet sample * fix output saving errors * refine samples and readme * try to resolve conflicts * use gpt-5 as default model
* Fix CMK Key Vault URI handling and docs * . * Update README to clarify 'location' parameter description
* updating A365 instructions * Update samples/csharp/FoundryA365/readme.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update samples/csharp/FoundryA365/readme.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update samples/csharp/FoundryA365/readme.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update samples/csharp/FoundryA365/readme.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* updating names * compile bicep * updating model * Update run-setup.yml * Change git push reference to use GITHUB_REF_NAME * adding model * Refactor GitHub Actions workflow for Bicep processing Updated GitHub Actions workflow to improve structure and permissions. Added steps for Bicep file processing and automatic commits. * Update run-setup.yml * Change git add command to add all files * Automatic fixes * updates * Automatic fixes * Update run-setup.yml * Automatic fixes * updating file * template * Automatic fixes * updating model * updating basic setup * update2 * Automatic fixes * Add GitHub Actions workflow for Bicep setup This workflow automates the setup of Bicep files and commits changes back to the branch after building them. * updates templates rbac * updating templates * updating templates * updating workflow * updating model quota * Automatic fixes * updating model quota * Automatic fixes --------- Co-authored-by: foundry-samples automation <foundry-samples@noreply.github.com>
* chnages for pmi * add mi * update * update * update * update azure ai url --------- Co-authored-by: vtomar <vtomar@microsoft.com>
* adding APIM PMI * update * Removing unneeded comment * update policy --------- Co-authored-by: Nicholas Barreca <nbarreca@microsoft.com>
* few more changes * few more changes --------- Co-authored-by: vtomar <vtomar@microsoft.com>
- 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
sdgilley
approved these changes
Jan 26, 2026
Contributor
sdgilley
left a comment
There was a problem hiding this comment.
✅ 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)$AZURE_AI_AUTH_TOKENto enable shell variable expansionImpact
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.