In Postman, the dynamic variable {{$timestamp}}
inserts the current Unix Time Stamp into a request. (Represented as the number of seconds since January 1, 1970)
"currentTime": "1510934784"
However, the API I am working with expects timestamps formatted as MM/DD/YYYY
.
"currentDate": "11/17/2017"
How do I insert the current date (formatted as MM/DD/YYYY
) into my request with Postman?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…