You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
I'm writing a CLI application that makes a single GraphQL query - getting the total issue count of a particular user. This query is just about as simple as they get.
And yet, when I try to post to the GraphQL endpoint, like so:
% echo '{user(login: "strugee") {issues {totalCount}}}' | http POST https://api.github.com/graphql
I get 401 Unauthorized and a message saying that I have to be authenticated. This is really a huge bummer, honestly. I shouldn't need to be authenticated to get this information. Instead you should have sensible rate-limits like the v3 API had (I mean, this usecase would've easily stayed well within the v3 rate limits for unauthenticated requests). Unless I'm missing something?
Cheers,
AJ
Reacted by Oliver Steele, José Cage , Himanshu Mishra, Carlos Henrique Reis, Mikhail Gryzykhin, Legendary, Luke Deen Taylor, Louise Davies and sage
Activity
strugee commentedon Jul 19, 2017
From GitHub support today:
jasonhansel commentedon Jan 9, 2018
This would be useful for me also! Especially if the API supported CORS, so that requests could be made from within the client's browser.