gg <options>Copied!
/<app name>Copied!
gg -r --req="/encrypt" --execCopied!
gg -r --req="/encrypt/data=somedata?method=aes256" --execCopied!
gg -r --req="/encrypt/data=somedata?method=aes256" --method=POST --execCopied!
gg -r -app="/my_app" --req="/some_request?par1=val1&par2=20&par3=4" --method=PATCH --content=something.json --content-type=application/json --execCopied!
#Execute current application as a command-line program, request "json" gg -r --req="/json" --exec #Execute application "app_name", service "json" by calling the application server running with a Unix socket gg -r --req="/json" --app="/app_name" --service --exec #Execute application "app_name", service "json" by calling the application server running with a Unix socket (specified explicitly) #Request has input parameter "act" with value "perf" gg -r --req="/json?act=perf" --app="/app_name" --service --socket="/sock_path/sock" --exec #Execute application "app_name", service "json" by calling the application server running with a TCP socket on port 2301 #Request has input parameter "act" with value "perf" gg -r --req="/json/act=perf" --app="/app_name" --service --remote="192.168.0.21:2301" --execCopied!
export CONTENT_TYPE= export CONTENT_LENGTH= unset GG_SILENT_HEADER export GG_SILENT_HEADER export REQUEST_METHOD=GET export SCRIPT_NAME="/enc" export PATH_INFO="/encrypt/data/somedata" export QUERY_STRING="method=aes256" /var/lib/gg/bld/enc/encCopied!
COMM=$(gg -r --req="/func_test/update-data/key=\$i/value=d_\$i" --service --remote="127.0.0.1:2301") ... for i in {1..1000}; do ... RES=$(eval "$COMM") ... echo "Result is $RES" doneCopied!
gg -q --db="mariadb:mdb postgres:pdb sqlite:sdb" --debug --traceCopied!
gg -q --db="mariadb:db" --lflag "-Wl,-z,defs" --cflag "-DXYZ123" --maxupload 18000000Copied!
gg -q
Copied!