Run the sample scripts

API Gateway includes sample Jython scripts for all supported OAuth flows in the following directory of your API Gateway installation:


To run a sample script:

  1. Open a UNIX shell or DOS command prompt in the following directory:
  2. INSTALL_DIR/samples/scripts
  3. Use the or run.bat utility to execute the appropriate script.

The following examples show how to run the sample script:


run.bat oauth\


sh oauth/

Related Links