Confusing Header in code-samples for Create a GitHub App from a manifest
#1674
Labels
Create a GitHub App from a manifest
#1674
Schema Inaccuracy
The "Code Samples" widget at Create a GitHub App from a manifest shows an extra
Authorization
Header under samples for cURL and JavaScript.Adding an auth token in place of
YOUR-TOKEN
does work, but for the API to work it is not required. The documentation does not state/describe theAuthorization
Header, thus leaves developers to wonder what value is needed to be passed in it.Expected
The
Authorization
Header in this code sample needs to be removed or ignored in the API itself. The API should not raise a 401 status if an incorrect header is passed.Reproduction Steps
code
using a Github App manifestcode
in the cURL call copied from Github Rest Documentation forCreate a GitHub App from a manifest
The text was updated successfully, but these errors were encountered: