const postData = {
url: 'http://localhost:8099/login',
method: 'POST',
header: {
'Content-Type': 'application/json'
},
body: {
mode: 'raw',
raw: JSON.stringify(
{
"username": "username",
"password": "password"
}
)
}
}
pm.sendRequest(postData, function (err, response) {