Sample code for 30+ languages & platforms
PHP

Example: Rest.AddHeader method

Demonstrates the AddHeader method.

Chilkat PHP Downloads

Chilkat2 PHP
<?php

use Chilkat2\Rest;

$rest = new Rest();

$rest->AddHeader('User-Agent', 'MyApplication/1.0');

// ...
// ...
// ...