Using getResponse instead of getJson