Problem Statement
Which header specifies the type of content being sent to the browser?
Explanation
The Content-Type header tells the browser how to interpret the response data, such as text/html or application/json.
Code Solution
SolutionRead Only
header('Content-Type: application/json');