Corrected typo and added .json to the url. now it returns $decoded->response as NULL / undefined property