Sample Perl code for calling the TourCMS API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sample Perl code for the TourCMS API

Proof of concept code handling calling the TourCMS API with a properly formed signature. Sample code includes calling the Search API as either an Operator or Agent.


  1. Copy and to a directory somewhere
  2. Edit, entering your TourCMS API credentials into the main sub
  3. Run perl
  4. The sample code will call the Search API, dump the response and die


SSL Warnings

If your Perl environment is not correctly verifying SSL certificates install Mozilla::CA to get the latest Mozilla Certificate Authority bundle, LWP will use it automatically.