Using Axios, you should be able to get the JSON data via reponse.data
.
If you use fetch, await response.json()
can solve the problem.
You should be familiar with the Network tab in Devtools, where you can inspect responses and understand the data. In particular Check the details of the resource