Skip to content

Instantly share code, notes, and snippets.

View smariapena's full-sized avatar
💚
not here lately

sheree peña smariapena

💚
not here lately
View GitHub Profile
@smariapena
smariapena / getBearer.js
Created July 14, 2020 16:36
Postman PreRequest Script Example
const appEnv = (pm.environment.name);
const userEmail = pm.environment.get('yourloginemail');
const userPass = pm.environment.get('yourloginpassword');
const authBody = {
grant_type: "password",
email: userEmail,
password: userPass,
};