Azure-Samples / Azure-Samples/storage-dotnet-rest-api-with-auth

Sample does not work - Returns no content.

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
31
Forks
35
PR merge metrics
No merged PRs in 30d

Description

I added my storage account name and Account key to top of file hit run and I get a empty console window with "press any key to continue."

no errors are reported.

I have done some basic debugging as follows:
in program.cs
Following The call to HttpClient().SendAsync(....) on line 60 the StatusCode check on line 64 fails with the status code of "BadRequest"

I've traced this to uri formatting on line 37 - This should be httpS: not http:

I can see that you already have a Pull Request addressing this, #11 so it seems like an easy fix 👍

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.