I am unable to get json formatted data in my react project

This is the stack overflow link to the whole question :