0
With the Axios.get method from the Axios.js library I can get an entire HTML page, right? Example:
axios.get('http://www.umaurl.com')
.then(resp => {
console.log(resp)
})
But now, if I just want to search for some specific elements of that page, like some Ivs, how could I do that in a get request via Axios? You would have to pass a selector for example, on the object that is the second parameter of Axios.get, right? But how exactly would the syntax of this look like?
Fine, I’ll try it first
– Lucas Pletsch
Ah, but there’s one detail: I’m actually trying to give GET, not post. I want to give GET to external Urls, but they always refuse these Xmlhttprequest Axios requests. See this thread https://answall.com/questions/452749/como-chamar-e-obtervia-get-uma-p%C3%a1gina-html-external-using-Axios
– Lucas Pletsch
I tested your code here and I didn’t get the same error
– HRP