Web Client Examples

Action usage examples


getClientInfo

--action getClientInfo --outputFormat 2

run

--action run -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data #{##args##:##examplegear -a getClientInfo##}#" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data #{##args##:##examplegear -a getClientInfo --outputFormat xxx##}#" --special " #"

--action run -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"-a\",\"getClientInfo\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"jira\",\"-a\",\"getClientInfo\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"examplegear\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"examplegear\",\"-a\",\"getClientInfo\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"-a\",\"webRequest\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"help\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"--help\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"INVALID_SITE\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"-a\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"-a\",\"INVALID_ACTION\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"-a\",\"getClientInfo\",\"--INVALID_PARAMETER\"]}" -i "-a webRequest --port 0 --path acli/config --requestType POST --options pretty --data {\"args\":[\"-a\",\"getClientInfo\",\"--outputFormat\",\"xxx\"]}"

--action run --continue --common "--port 7788" -i "-a startServer --path custom --options restart,async,enableStop,wait --debug --ipAllowRegex \"127\\.0\\..*\"" -i "-a webRequest --path custom" -i "-a stopServer --path custom --options wait" -i "-a stopServer --path custom"

--action run --continue --input "system -a updatePropertyFile --propertyFile @config --field \"ZTEMP_ENTRY=jiracloud -s https://examplegear.atlassian.net\"" --input "system -a sleep --value 20" --input "web -a webRequest --port 0 --path acli/config?site=ZTEMP_ENTRY --options pretty" --input "system -a updatePropertyFile --propertyFile @config --field ZTEMP_ENTRY=" --input "system -a sleep --value 20" --input "web -a webRequest --port 0 --path acli/config"

runFromList

--action runFromList --list "%function_list(1,10)%" --input "-a stopServer --port 0 --continue --options wait" --input "-a startServer --port 0 --continue --options wait,async" --input "-a webRequest --port 0 --requestParameters noWait" --input "-a stopServer --port 0 --continue --options wait"

stopServer

--action stopServer --continue --port 7780

--action stopServer --continue --port 7781 --secret abcdefghi

--action stopServer --continue --port 7782 --token a123456789

--action stopServer --port 7780

--action stopServer --port 7781 --secret abcdefghi

--action stopServer --port 7782 --token a123456789

webRequest

--action webRequest --file "build/output/web/webRequestGoogle.txt" --url "https://google.com"

--action webRequest --file "build/output/webauth/webRequestGoogle.txt" --url "https://google.com"

--action webRequest --file "build/output/webhmac/webRequestGoogle.txt" --url "https://google.com"

--action webRequest --hmacAlgorithm "HMAC_SHA_1" --port 7780

--action webRequest --hmacAlgorithm "HMAC_SHA_1" --port 7781 --secret abcdefghi

--action webRequest --hmacAlgorithm "HMAC_SHA_1" --port 7782 --token a123456789

--action webRequest --hmacAlgorithm "HMAC_SHA_256" --port 7780

--action webRequest --hmacAlgorithm "HMAC_SHA_256" --port 7781 --secret abcdefghi

--action webRequest --hmacAlgorithm "HMAC_SHA_256" --port 7782 --token a123456789

--action webRequest --hmacAlgorithm "HmacMD5" --port 7780

--action webRequest --hmacAlgorithm "HmacMD5" --port 7781 --secret abcdefghi

--action webRequest --hmacAlgorithm "HmacMD5" --port 7782 --token a123456789

--action webRequest --path "acli/config" --port 0 --pretty

--action webRequest --path "acli/config" --requestParameters "shell" --port 0 --pretty

--action webRequest --path "acli/config" --requestType "POST" --data "{\"args\":[\"-a\",\"getPage\"]}" --port 0 --pretty

--action webRequest --path "acli/config" --requestType "POST" --data "{\"args\":\"-a getChannelList\"}" --port 0 --pretty

--action webRequest --path "acli/config" --requestType "POST" --data "{\"args\":\"-a getPage -s https://examplegear.atlassian.net -u someuser\"}" --port 0 --pretty

--action webRequest --path "acli/config" --requestType "POST" --data "{\"args\":\"-a getPage -s https://examplegear.atlassian.net\"}" --port 0 --pretty

--action webRequest --path "acli/config" --requestType "POST" --data "{\"args\":\"-a getPage -s https://examplegear.com --password xxx\"}" --port 0 --pretty

--action webRequest --path "acli/config?site=ban_none" --port 0

--action webRequest --path "acli/config?site=examplegear" --port 0

--action webRequest --path "acli/log/ash" --requestType "POST" --data "{\"type\":\"END\"}" --port 0 --pretty

--action webRequest --path "acli/run" --requestType "POST" --data "{\"args\":[\"-a\",\"getClientInfo\"]}" --port 0 --pretty

--action webRequest --path "acli/run" --requestType "POST" --data "{\"args\":[\"-a\",\"getServerInfo\",\"-s\",\"https://examplegear.atlassian.net\"], \"client\": \"confluencecloud\"}" --port 0 --pretty

--action webRequest --path "acli/run" --requestType "POST" --data "{\"args\":[\"-a\",\"getServerInfo\"], \"site\":\"examplegear\"}" --port 0 --pretty

--action webRequest --path "acli/run" --requestType "POST" --data "{\"args\":[\"cli\",\"-a\",\"getClientInfo\"]}" --port 0 --pretty

--action webRequest --path "acli/run" --requestType "POST" --data "{\"args\":[\"examplegear\",\"-a\",\"getProjectList\"]}" --port 0 --pretty

--action webRequest --path "acli/run" --requestType "POST" --data "{\"args\":[\"examplegear\",\"-a\",\"getServerInfo\"]}" --port 0 --pretty

--action webRequest --path "acli/webhook" --requestType "post" --data "{\"name\": \"xxx\"}" --hmacHeader "X-Hub-Signature" --secret "BAD_SECRET" --port 7780

--action webRequest --port 0 --verbose

--action webRequest --port 7780 --verbose

--action webRequest --port 7781 --secret abcdefghi --verbose

--action webRequest --port 7782 --token a123456789 --verbose

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacAlgorithm "HmacSHA256" --port 7780

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacAlgorithm "HmacSHA256" --port 7782 --token a123456789

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacHeader "" --port 7780

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacHeader "" --port 7782 --token a123456789

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacHeader "X-Hub-Signature" --port 7780

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacHeader "X-Hub-Signature" --port 7781 --secret abcdefghi

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --hmacHeader "X-Hub-Signature" --port 7782 --token a123456789

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --port 7780

--action webRequest --requestType "post" --data "{\"name\": \"xxx\"}" --port 7782 --token a123456789

--action webRequest --requestType "post" --path "acli/webhook" --requestParameters "automation=test.cli&format=2&comment=post+data+test&jsonPath=$" --data "[\"aaa\", \"bbb\"]" --verbose --hmacHeader "" --port 7780

--action webRequest --requestType "post" --path "acli/webhook" --requestParameters "automation=test.cli&format=2&comment=post+data+test&jsonPath=$" --data "[\"aaa\", \"bbb\"]" --verbose --hmacHeader "" --port 7782 --token a123456789

--action webRequest --requestType "post" --path "acli/webhook" --requestParameters "automation=test.cli&format=2&comment=post+data+test&jsonPath=$" --data "[\"aaa\", \"bbb\"]" --verbose --hmacHeader "X-Hub-Signature" --port 7781 --secret abcdefghi

--action webRequest --requestType "post" --path "acli/webhook" --requestParameters "automation=test.cli&format=2&comment=test+1" --port 7780

--action webRequest --requestType "post" --path "acli/webhook" --requestParameters "automation=test.cli&format=2&comment=test+1" --port 7781 --secret abcdefghi

--action webRequest --requestType "post" --path "acli/webhook" --requestParameters "automation=test.cli&format=2&comment=test+1" --port 7782 --token a123456789

--action webRequest --url "http://localhost:7790/acli/config?site=ban_none" --quiet

 

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.