setenv.sh 1.1 KB

1234567891011121314151617181920212223242526
  1. export LANG=zh_CN.utf8
  2. export LC_ALL=zh_CN.utf8
  3. export SERVICE='http://127.0.0.1:8080/script/exec/js'
  4. export AUTHB64=''
  5. echo "SJS=''"
  6. echo "INPUT=''"
  7. echo 'curl --location --request POST "${SERVICE}?filepath=${SJS}" --header "Authorization: Basic ${AUTHB64}" --form "input=${INPUT}";echo'
  8. exit
  9. curl --location --request POST "${SERVICE}?filepath=${SJS}" --header "Authorization: Basic ${AUTHB64}" --form "input=${INPUT}";echo
  10. http://27.193.12.228:8080/script/exec/js?filepath=/cncc/API/drsp/perf.js&input={"type":"HVPS","starttime":"202210251025","endtime":"202210261025"}
  11. 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=="
  12. 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=="
  13. 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=="