Compare commits
2 Commits
84c556e40d
...
33f5453671
Author | SHA1 | Date | |
---|---|---|---|
33f5453671 | |||
78a766cb86 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ old_*
|
||||
node_modules/
|
||||
.env
|
||||
*.pem
|
||||
*temp*
|
||||
|
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_temp.sql
|
||||
|
Loading…
Reference in New Issue
Block a user