Ipfs.name.publish() is not working with infura


I am using the infura api for IPFS and able to make the ipfs.add() through the infura.
With Ganache(local network) is working fine for ipfs.add() and ipfs.name.publish() as in the ipfs documentation https://docs.ipfs.io/reference/api/http/
But while using the public network through infura I am unable to post the request for ipfs.name.publish().
I am connecting to Infrua through
var ipfsClient = require(‘ipfs-http-client’)
var ipfs = ipfsClient({ host: ‘ipfs.infura.io’, port: ‘5001’, protocol: ‘https’ })

Whether we can do POST the publish request for IPFS through infura?
Please help me out

Thank you

Hi there, we do not support the .name() methods unfortunately. If you describe your use case for needing this possibly we could recommend an alternative solution.