I've spent several hours trying to figure out how to query an API using fetch, but I can't even seem to get the fetch command to execute. 

I'm very new to Javascript so hopefully someone can just point out some dumb mistake because I can't even get past the first step of using fetch.

Here is the very small snippet of code that I can't get to work. 

```
var req = new Request('http://myapp.com:8000/api/posts', {method: 'GET'});
console.log("1");
fetch(req).then(function(res) {
    console.log("2");
    return res.json();
    })
console.log("3"); 

```

The console logs "1", and "3", every time, but "2" is never even logged.

Does anyone know what is going on?

Also, I am making fetch requests to a locally running django server, and from monitoring the the server no requests are even being made to the server when I run my react-native app.