When I make a GET request using curl in the following manner:
curl https://api.backand.com:443/1/objects/todos?AnonymousToken=my-token
I receive the correct data as shown below:
{"totalRows":2,"data":[{"__metadata":{"id":"1","fields":{"id":{"type":"int","unique":true},"content":{"type":"string"}},"descriptives":{},"dates":{}},"id":1,"content":"the first todo!"},{"__metphilipphpphilipphilip"}]}
However, when I attempt the same request in Angular 2 like so:
this.http.get('https://api.backand.com:443/1/objects/todos?AnonymousToken=my-token').map(res => {
return res.json();
});
I am receiving an unexpected object called observable that appears strange like this:
https://i.sstatic.net/08Pce.png
What could be causing the issue with the Angular request?