Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating cat uri to new standards #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iamthenoah
Copy link

As mentioned in this issue a while back, calling the cat endpoint as /api/v0/cat/<cid> leads to a 405 response and should be updated as /api/v0/cat?arg=<cid> as mentioned in the documentation.

The actual error message
[ipfs-mini] status 405: /api/v0/cat/ is an undocumented behavior, use /api/v0/cat?arg= instead

Also, it seems as request to the cat endpoint is now POST and not GET anymore.

Side note

I didn't spend too much time on this PR and some tests fail or hang but this seems to be because either my setup is wrong or because they are outdated (similar effect on master branch). In any case, cat and catJSON tests passed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant