title: Displaying JSON data on webpage
body: <p>I am trying to use Transport for London's API and display the JSON data on my webpage however it doesnt seem to display it. I have also tried using my API credentials. Console does not show any errors just displays the url. </p>
  
  <pre><code>$(document).ready(function(){
  
  $("#searchButton").on("click", function(){
  var tflUrl = "https://api.tfl.gov.uk/Journey/JourneyResults/bethnalgreen/to/liverpoolstreet?mode=bus"
  console.log(tflUrl)
  
  $.getJSON(tflUrl, function(json) {
  
  $(".tflResult").html(JSON.stringify(json))
  
  });
  
  });    
  });
  </code></pre>