I am using infura ipfs node https://ipfs.infura.io:5001/
for publishing my hash in ipns and get peer ID. I get an issue every time saying ipfs method not allowed
.
I then ran ipfs daemon locally and try to perform the same ipns action and it worked. What is going on with infura ipfs node?
Akita
October 16, 2020, 8:29am
2
Be sure to use a POST HTTP header, not a GET
The public gateway may also only be running a read-only API and doesn’t support uploading files.
I am using the official doc but problem persists
# Key API <!-- omit in toc -->
- [`ipfs.key.gen(name, [options])`](#ipfskeygenname-options)
- [Parameters](#parameters)
- [Options](#options)
- [Returns](#returns)
- [Example](#example)
- [`ipfs.key.list([options])`](#ipfskeylistoptions)
- [Parameters](#parameters-1)
- [Options](#options-1)
- [Returns](#returns-1)
- [Example](#example-1)
- [`ipfs.key.rm(name, [options])`](#ipfskeyrmname-options)
- [Parameters](#parameters-2)
- [Options](#options-2)
- [Returns](#returns-2)
- [Example](#example-2)
- [`ipfs.key.rename(oldName, newName, [options])`](#ipfskeyrenameoldname-newname-options)
- [Parameters](#parameters-3)
- [Options](#options-3)
This file has been truncated. show original