Skip to content

Headers

HTTP headers send additional information to the browser.

The header() function is used to send headers.

header("Content-Type: application/json");