Collect response from Browser's Inspect Network

After trying for some time, I am still unable to get response which seems a mocked up text from the posted example. So far I can get response headers but not response body yet.
Is it possible for you to give me a little example coding of how to get the response?