1. Home
  2. Php
  3. Change document header to json

Changes document header and returns document data in JSON format.

#php#header
header('Content-Type: application/json');
copy
Full Php cheatsheet