The response body parsed as a JSON string.
The parsed JSON object is cached with the response object,
so multiple accesses will call JSON.parse()
only once.
Note
This method can only parse regular JSON values. Relaxed JSON is not supported here.
let response = await up.request('/profile.json')
console.log("User name is " + response.json.name)