Skip to content

user-agent-required anchor is missing from getting-started-with-the-rest-api #42308

@jsoref

Description

@jsoref

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#user-agent-required

What part(s) of the article would you like to see updated?

Add a section for user-agent-required

Additional information

For no particular reason, try running:

curl -A '' 'https://api.github.com/'

The output is:

Request forbidden by administrative rules. Please make sure your request has a User-Agent header (https://docs.github.com/en/rest/overview/resources-in-the-rest-api#user-agent-required). Check https://developer.github.com for other possible causes.

  1. That first link doesn't yield an actual section in the docs.
  2. The second link is strange, it feels like it's ~12 years stale and didn't get the memo about https://docs.github.com.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamrestContent related to rest - overview.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions