Skip to content

Instantly share code, notes, and snippets.

View lucasgbd's full-sized avatar

Lucas Moreira lucasgbd

View GitHub Profile
@lucasgbd
lucasgbd / postmanNetSuiteTBA.js
Last active October 25, 2023 15:53 — forked from michoelchaikin/postmanNetSuiteTBA.js
Postman pre-request script to generate TBA variables for NetSuite Web Services
/*
Usage:
1. Define a NetSuite environment in Postman (https://www.getpostman.com/docs/postman/environments_and_globals/manage_environments)
with the following keys set: account, consumerKey, consumerSecret, tokenId, tokenSecret
2. Add this script to your "Pre Request Script" in Postman (https://www.getpostman.com/docs/postman/scripts/pre_request_scripts)
3. Add the Token Passport in your request with variable placeholders