Commit d1294bc9 by 庄冰

xappkey

parent 36e64eb2
......@@ -4,7 +4,7 @@ const exec = util.promisify(require('child_process').exec);
class ExecClient {
constructor() {
this.cmdPostPattern = "curl -k -H 'Content-type: application/json' -d '{data}' {url}";
this.cmdPostPattern = "curl -k -H 'Content-type: application/json' -H 'xappkey: f6b59b74-f943-4735-bb86-e05d6b7fdwsv' -d '{data}' {url}";
this.cmdGetPattern = "curl -G -X GET '{url}'";
this.cmdPostPatternEs = "curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{data}' {url}";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment