Headers
HTTP headers send additional information to the browser.
The header() function is used to send headers.
Example
Section titled “Example”header("Content-Type: application/json");HTTP headers send additional information to the browser.
The header() function is used to send headers.
header("Content-Type: application/json");