point curl to current directory target
This commit is contained in:
parent
84c556e40d
commit
78a766cb86
2
index.js
2
index.js
@ -118,7 +118,7 @@ server.get('/scale', bodyParser.json(), function(req, res) {
|
||||
// return;
|
||||
//}
|
||||
console.log(new Date().toISOString() + "-------------------------baseline build-----------------------------")
|
||||
console.log(req.body);
|
||||
console.log(JSON.stringify(req.body));
|
||||
//parse the where clause into the main sql statement
|
||||
//sql = sql.replace(new RegExp("where_clause", 'g'), w)
|
||||
sql = sql.replace(new RegExp("app_pincr", 'g'), app_pincr);
|
||||
|
@ -1 +1 @@
|
||||
curl -H "Content-Type: application/json" -X GET -d@./routes/scale/req.json https://localhost:8082/scale --insecure > scale_final.sql
|
||||
curl -H "Content-Type: application/json" -X GET -d@req.json https://localhost:8082/scale --insecure > scale_final.sql
|
||||
|
Loading…
Reference in New Issue
Block a user