Welcome Guest, Not a member yet? Register   Sign In
JSON formatting in the browser (missing headers)?
#3

Thanks, but that's just what I already did. This does NOT send a header of type json to the client. I had to do this for that to work: return $this->response->setJSON($this->model->find($id));

Now, to me that is a completely different way to do things ... and again; the docs are confusing.
Reply


Messages In This Thread
RE: JSON formatting in the browser (missing headers)? - by blaasvaer - 02-01-2021, 06:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB