Skip to content

Instantly share code, notes, and snippets.

@yeshess
Created January 1, 2018 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yeshess/c3aab4154e5a89c3f4023d47356837d9 to your computer and use it in GitHub Desktop.
Save yeshess/c3aab4154e5a89c3f4023d47356837d9 to your computer and use it in GitHub Desktop.
rest_calls:
- path: /mgmt/shared/authn/login
method: POST
headers:
Content-type: application/json
payload:
username: "{{USERNAME}}"
password: "{{PASSWORD}}"
loginProviderName: "tmos"
response_format: json
recoverable_codes: [400]
response_translation:
token: [token-content]
response_expectation:
- ['username', "admin"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment