Skip to content

Instantly share code, notes, and snippets.

// generating random data
var randomData = Math.random();
// getting Auth tokens from other Auth services
pm.sendRequest({
url:"https://postman-echo.com/basic-auth",
method: "GET",
header: {
'Authorization': 'Basic ' + btoa('postman:password')
}