Sorry I'm trying to figure out how to use Google Sheet apis. I am getting the required output on the google developers site but not getting when I try to open it in another tab. 

Sorry for the stupid question, if you could help me that would be great! Thanks!
Expected to get the values of the spreadsheet. Got: 