Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ValchanOficial/b0dfcdc6b5b7b891d039bd7677a138bd to your computer and use it in GitHub Desktop.
Save ValchanOficial/b0dfcdc6b5b7b891d039bd7677a138bd to your computer and use it in GitHub Desktop.
[Postman] Pre-request environment
pm.environment.set('currentDate', new Date().toISOString());
inside req body:
{
"my-date": "{{currentDate}}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment