Using Postman and the following code in pre-query script
const moment = require('moment');
pm.globals.set("timestamp", moment().format("YYYY-MM-DDTHH:MM:SSZ"));
I get as a response
Request signature is too far in the past and has expired. Timestamp date: 2019-11-30T10:11:10+00:00
In body I am using {{timestamp}}.
I need timestamp in ISO8601 format.
If I use
{{$timestamp}}
it returns a Linux date of 1575110444 which is correct today at 10:41