Monday, November 14, 2022

How to set Date time while making PostMan Requests?

To set Date time while making Requests in PostMan, we can use Pre-request Script.

Sample Code:

const moment = require( 'moment' );    pm.environment.set( "currentDateTime", moment().utc().format( "YYYYMMDDTHHmmss" ) + "Z" );

No comments:

Post a Comment

Unable to view Lucidchart Shapes

When you open the Lucidchart document, it will not show all the shapes. You have to edit the document to view all the added and supported sh...