Command Line Interface tools for Slice server-side authorization
Switch branches/tags
Nothing to show
Clone or download
Alexander198961 and projectslice added test.sh (#1)
* added test.sh

* Update test.sh
Latest commit 15336d4 Oct 26, 2017

README.md

SLICE API COMMAND-LINE TOOL

Initial Setup:

  1. clone repo
  2. copy private key file to this directory
  3. edit test.sh
    1. set PARTNER_CLIENT_ID to your client id
    2. set KEY_FILE to name of your private key file
    3. Add command you would like to execute. The command is of the form
      php slice-clt.php <HTTP METHOD> <PATH> <USERNAME> ["param" "value"] ["param" "value"]
      
    4. When testing with OAuth token, username is not needed

Usage Instructions:

Execute test script. e.g.

./test.sh