You can download the REST API Postman environment template and collection of sample requests from the SuiteTalk tools download page at To access the page, you must substitute your account ID in the URL. The collection distributed together with this document requires a proper environment setup as described in Importing and Setting Up a Postman Environment. You can also import a collection as a single JSON file. Similarly to the environments, you can create, share, duplicate, export, and delete a collection. You can also download environments, save them as JSON files, and upload them later.Ī Postman collection is a set of HTTP requests. Using Postman environments, you can customize requests using variables so you can switch between different setups without changing your requests. Using a Postman environment, you can switch between various NetSuite accounts, and between your test or production accounts. The key represents the name of the variable. Use environment'foo' to access the value of the foo environment variable. environment: A dictionary of variables in the current environment. postman.clearGlobalVariables(): Clears all global variables. You must have an environment selected for this method to work. Import the collection and environment files. postman.clearEnvironmentVariables(): Clears all environment variables. Working with Postman Environments and CollectionsĪ Postman environment is a set of key-value pairs. Please refer to Postmans interface documentation for more information and visual aids.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |