REST API examples

Below are examples that use the Synthetic Classic REST API. These are presented as is. Every effort will be made to keep these up to date and fix bugs. Please contact PortalFeedback for any comments, issues or enhancements.

Windows batch file

restcurl-example.1.0.zip – Uses cURL, XMLStarlet and gawk

Python sample code

Python 2.x – prapiPythonScript.1.1.zip

Python 3.x – prapiPythonScript1.1_python3.x.zip

Sample SmartBear SoapUI project

SoapUI.1.0.zip

Splunk Modular Input

See Synthetic Classic API version 3.2 use cases.