Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Everything is a 404. #76

Closed
seiyria opened this Issue Dec 6, 2013 · 2 comments

Comments

Projects
None yet
2 participants

seiyria commented Dec 6, 2013

I'm getting a 404 error on everything I've tried to access so far, trying both the sample repo shown in the README and my own repo. I've also tried forcing client.get to point to the appropriate repo...

client = require('octonode').client 'b34eac16a4260986f6daba75cd0be9b7bdbfa409'
ghrepo = client.repo 'kellyirc/kurea'
ghrepo.readme (x) -> console.log x
client.get '/repos/kellyirc/kurea/contents/src/modules?ref=master', (x) -> console.log x
client.limit (e,l,m) -> console.log l,m

Did I miss something, or is it just 404ing like wild right now? It shows up just fine in my browser after all.

@pksunkara pksunkara closed this in 3df282d Dec 8, 2013

Owner

pksunkara commented Dec 8, 2013

The following is correct usage if you params for get requests.

client.get '/repos/kellyirc/kurea/contents/src/modules', {ref: 'master'}, console.log

seiyria commented Dec 8, 2013

Good to know, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment