Hey, sorry, I haven’t got the chance to craft a working axios example but we’ve recently added the kubo-rpc one which pretty much replaces the ipfs-http-client (with minimal changes) Make requests | INFURA
Thanks for the suggestion, do you have any examples for adding new files?
Here is what I have for config:
let API_KEY = process.env.API_KEY;
let API_SECRET = process.env.API_SECRET;
const projectIdAndSecret = `${API_KEY}:${API_SECRET}`
const auth = `Basic ${Buffer.from(projectIdAndSecret).toString('base64')}`
let url = 'https://ipfs.infura.io:5001/api/v0/add';
let file = `file=@".${folder}/${index}}"`
Next in the function is the axios call but at the top of the link you had just posted there is a nodejs pin request, does that format work for posting files?