Answer the question
In order to leave comments, you need to log in
How to get geodata from TFL?
Hello, I'm just starting to deal with React, I received the data
const Http = new XMLHttpRequest();
const url='https://api-argon.tfl.gov.uk/BikePoint';
Http.open("GET", url);
Http.send();
Http.onreadystatechange=function() {
if(this.readyState==4 && this.status==200){
console.log(Http.responseText)
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question