How can I insert timestamp without milliseconds (need only 10 digits) in postman, Please have a look to code below

后端 未结 0 1499
难免孤独
难免孤独 2020-12-03 13:08

I have this in my pre-request script:

var moment = require("moment"); postman.setEnvironmentVariable("current_timestamp", moment().add(10, \'secon

相关标签:
回答
  • 消灭零回复
提交回复
热议问题