-1
How do I put proxy on request in Xios? I’ve tried everything but I’m not getting it.
axios.post('localhost:3000', postdata,
{
headers: headers
},
{
proxy: 'http://minhaproxy:@proxy.crawlera.com:8010'
})
.then((res) => {
console.log("ok")
}
Muti thanks, it worked here.
– vmmonea
For nothing, if it is the correct answer, mark it as correct so that other people who have the same problem come here.
– Angelo Soares