Sample code for 30+ languages & platforms
PHP ActiveX

Example: Rest.AddHeader method

Demonstrates the AddHeader method.

Chilkat PHP ActiveX Downloads

PHP ActiveX
<?php

$rest = new COM("Chilkat.Rest");

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

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

?>