一.Postman中POST请求传递date类型参数
1、定义全局变量
postman.setGlobalVariable("startTime",Date.parse(new Date("2020/06/12 00:00:10")));
postman.setGlobalVariable("endTime",Date.parse(new Date("2020/06/12 23:59:10")));
2、json字符串中引用
"startTime": {{startTime}},
"endTime": {{endTime}},
3、调用接口
二.POST请求方式
1、设置请求头格式
2、设置请求体的格式