Could not resolve host: ipfs.infura.org

I get that error when trying to use infura api

curl -X POST -u “YOUR_PROJECT_ID:YOUR_PROJECT_SECRET” “https://ipfs.infura.org:5001/api/v0/pin/add?arg=YOUR_IPFS_CID

i put my project id, project secret and CID but i get that error

Could not resolve host: ipfs.infura.org

Hi @Joangeldelarosa, try using "https://ipfs.infura.io:5001/api/v0/pin/add?arg= YOUR_IPFS_CID"

Let me know if that works!

Awesome, no i am not getting that error but gateway timeout, i think that’s because a lot of data and the http request timeout before getting response, but i think its working, thank you!

Such an stupid error xd just changing domain, they should update documentation

Thanks for confirming!

Was that is our docs? would you be able to provide a link to the source with a bad domain provided?