I'm trying to use [The Cat API](http://thecatapi.com/docs.html) to get a random pic of a cat.
when I run the following code.

```js
$(document).ready(function() {
  console.log('test');
  $.ajax({
    url: "https://thecatapi.com/api/images/get",
    type: "GET",
    data: {
      "format": "html"
    },
    success: function(data) {
      console.log('test1');
      console.log(data);
      console.log('test2')
    }
  });
});
```

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
```

The success event never fires but I can see a response in Network log that looks like this.

```
<a target="_blank" href="http://thecatapi.com/?id=crt"><img src="http://25.media.tumblr.com/tumblr_m0j1osiek21qewacoo1_500.jpg"></a>

```

How do I gain access to that response ?