Azure-Samples / Azure-Samples/cognitive-services-quickstart-code

HTTP 400 - Bad Request

Open
#288 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
389
Forks
556
Avg merge
3d 12h
Merged PRs (30d)
1

Description

https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/919f60ce2078e074d67a6b394382d25943979657/dotnet/ComputerVision/ImageAnalysisQuickstart.cs#L149

Following this example above, I immediately receive a 'BadRequest' on method call. The only difference is the format of my Url argument.

Our URL's (pointing to our image CDN) are formatted like this: https://url.com/content/image?id=GUID

Contributor guide

Open the contributing guide

Research direction

Start at dotnet/ComputerVision/ImageAnalysisQuickstart.cs around line 149 and reproduce the Image Analysis request with an image URL containing a query parameter. Check the request behavior and determine whether the quickstart needs an adjustment or clarification for this URL format; done means the supported URL behavior is confirmed and covered by the sample or its documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.