Home > Mobile >  Why the return response is coming in weird format?
Why the return response is coming in weird format?

Time:12-05

I am learning the backend in node. I am trying to execute the following piece of code `

const axios= require('axios')
async function getData(){
    const resp = await axios.get('https://jsonplaceholder.typicode.com/todos/1')
    console.log('hello',resp.data)
}

getData()

I am getting output like this: enter image description here

  • Related