API code 2 issue

Having trouble running simple API calls. Works great in Pixlet.

image

I guess this only works in Pixlet. Other calls worked.