Sample code for 30+ languages & platforms
Perl

Example: Rest.AddHeader method

Demonstrates the AddHeader method.

Chilkat Perl Downloads

Chilkat2 Perl
use strict;
use warnings;
use Chilkat2;

my $rest = Chilkat2::Rest->new;

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

# ...
# ...
# ...