1234567891011121314151617181920212223242526 |
- export LANG=zh_CN.utf8
- export LC_ALL=zh_CN.utf8
- export SERVICE='http://127.0.0.1:8080/script/exec/js'
- export AUTHB64=''
- echo "SJS=''"
- echo "INPUT=''"
- echo 'curl --location --request POST "${SERVICE}?filepath=${SJS}" --header "Authorization: Basic ${AUTHB64}" --form "input=${INPUT}";echo'
- exit
- curl --location --request POST "${SERVICE}?filepath=${SJS}" --header "Authorization: Basic ${AUTHB64}" --form "input=${INPUT}";echo
- http://27.193.12.228:8080/script/exec/js?filepath=/cncc/API/drsp/perf.js&input={"type":"HVPS","starttime":"202210251025","endtime":"202210261025"}
- curl 'http://27.193.12.228:8080/script/exec/js?filepath=/cncc/API/drsp/perf.js&input={"type":"HVPS","time":"202210261025"}' --header "Authorization: Basic bWV0YS5hZG1pbjphZG1pbg=="
- curl -X POST -i 'http://27.193.12.228:8080/script/exec/js?filepath=/cncc/API/drsp/perf.js' --data 'input={"type":"HVPS","time":"202210261025"}' --header "Authorization: Basic bWV0YS5hZG1pbjphZG1pbg=="
- curl -X POST 'http://27.193.12.228:8080/script/exec/js?filepath=/cncc/API/drsp/perf.js' --data 'input={"type":"HVPS","time":"202210261025"}' --header "Authorization: Basic bWV0YS5hZG1pbjphZG1pbg=="
|