Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. curl --data "db_name=auto&old_db=Lab.tar.gz&new_db=627999E00_10.tgz"
  2. --noproxy localhost
  3. -H "Accept: text/plain"
  4. -H "Content-Type: text/plain"
  5. -X POST http://localhost:8084/auto
  6.  
  7. app.post('/auto',function(req,res){
  8. var db_name=req.body.db_name; //undefined
  9. var old_db=req.body.old_db; //undefined
  10. var new_db=req.body.new_db; //undefined
  11. ...
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement