Get 401 error when trying to extract image URL

I have uploaded an image to infura, and was able to see the image path under MY PINNED CONTENT.

Now I want to extract the correct image URL by making a usual get request.

async function getImageUrl(object) {
  console.log('🛰  Get image url...');

  const ipfsResult =  ipfs.get(`https://ipfs.infura.io:5001/api/v0/get?arg=${object}`);

  console.log(ipfsResult);

  // return await axios.get(`https://ipfs.infura.io/ipfs/${ipfsImagePath}`);
   
}

But get this error

Hi @Tony_Seng, how do you create the ipfsClient? Do you include an auth header that’s constructed OK? See: Make requests - Infura Docs