There's a helpful Angular tutorial here:
https://coursetro.com/posts/code/154/Angular-6-Tutorial---Learn-Angular-6-in-this-Crash-Course
In the data.services.ts file there is a simple http.get which returns a json payload:
return this.http.get('https://jsonplaceholder.typicode.com/users');
I was hoping to "inspect" the payload in the Chrome developer tool and added this code:
console.log("Payload = " + this.http.get('https://jsonplaceholder.typicode.com/users'));
But what I see in Chrome is this:
Payload = [object Object]
How can I "see" the raw JSON data returned via a console.log()?
The reason I'd like to inspect the payload is that my requirement is to read an XML response. I know I have to covert the XML to JSON but I want to be sure I'm getting the XML.