PHP Classes

File: src/helpers/headers.inc.php

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   PHP RESTful API Example   src/helpers/headers.inc.php   Download  
File: src/helpers/headers.inc.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP RESTful API Example
Example implementation of a REST API
Author: By
Last change:
Date: 7 months ago
Size: 253 bytes
 

Contents

Class file image Download
<?php
/**
 * @author Pierre-Henry Soria <hi@ph7.me>
 * @website https://ph7.me
 * @license MIT License
 */

namespace PH7\ApiSimpleMenu;

use
PH7\PhpHttpResponseHeader\Http;

(new
AllowCors)->init();

Http::setContentType('application/json');