Getting ipfs method not supported

I’m doing a post to this url using the golang Kubo client: https://ipfs.infura.io:5001/api/v0/ls?arg=%2Fipfs%2FQmR7dn9fii9g2JAfdodkiDRpomEKBucDxTyy2teek87qBP&resolve-type=true&size=true&stream=true and it’s responding with ipfs method not supported. Can someone help me? I’m trying to list a directory

1 Like

Infura do not support that method, so I see that on the Unixfs Add() function of Kubo golang client you can pass a channel of events and so it returns all the files inside the directory

1 Like

Hey @edutomesco and welcome to the community.
You are right we don’t support the /ls method but you could access that content via your Infura Dedicated Gateway if you enable it in your account:

Hope this helps.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.