I am new to IPFS and I am trying to get the data from port 9094.
I know that we can use http://ipfs-server-1:8080/ipfs/CID to get the data.
I am trying to do the same from port 9094
I am new to IPFS and I am trying to get the data from port 9094.
I know that we can use http://ipfs-server-1:8080/ipfs/CID to get the data.
I am trying to do the same from port 9094
You need to use the APIs offered by IPFS. Cluster does not offer an API to get data, that is IPFS-side of things. Cluster API is for cluster operations (pin, unpin etc).
:8080 is the gateway also. You’d also have /api/v0/cat
on :5001. See https://docs.ipfs.io/reference/http/api/ and https://cluster.ipfs.io/documentation/reference/api/
Thanks Hector. This was helpful.
I thought that’s what the cluster IPFS Proxy was for. https://cluster.ipfs.io/documentation/reference/proxy/
and if he just wanted to add he could use the cluster restapi?https://cluster.ipfs.io/documentation/reference/api/
Yes, proxy API can be used, but just for the purpose of cat
ing, it does not add much.