By default axios response have a data property where all response are stored. Unless things have changed from the last time I used it. As you said, the whole response object should be logged to see its content.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Are you sure that the response object has a property named
data
? Try logging the whole response and see what you get.By default axios response have a data property where all response are stored. Unless things have changed from the last time I used it. As you said, the whole response object should be logged to see its content.