JSON formatting in the browser (missing headers)? |
https://codeigniter.com/user_guide/outgo...-reference
PHP Code: return $this->setResponseFormat('json')->respond(['error' => false]); Parameters: $data (mixed) – The data to return to the client. Either string or array. $statusCode (int) – The HTTP status code to return. Defaults to 200 $message (string) – A custom “reason” message to return. |
Messages In This Thread |
JSON formatting in the browser (missing headers)? - by blaasvaer - 02-01-2021, 04:28 AM
RE: JSON formatting in the browser (missing headers)? - by iRedds - 02-01-2021, 06:02 AM
RE: JSON formatting in the browser (missing headers)? - by blaasvaer - 02-01-2021, 06:05 AM
RE: JSON formatting in the browser (missing headers)? - by iRedds - 02-01-2021, 10:24 AM
|