Skip to content

Bug and unclear #33590

Open
Open
@crawfis

Description

Bug: In the "Refactor the code" section, the 1st C# code is missing the client parameter that is needed.

The use of Write versus Writeline here detracts on understanding what is going on when running the example.
Step 2 of "Making HTTP Requests" could use a lot more explanation. The Accept header is doing what? Limiting the results to only application/json returns. Why the extra stuff (vnd.github.v3+)?
The User Agent string can be anything. Feel free to change this. What is Github doing with it, etc.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions