/
How to Setup and Configure Postman

How to Setup and Configure Postman

When working with Postman and our APIs, it’s important to know that Postman sends it’s own cookies which can lead to sessions getting lost.

A workaround to avoid this is to disable cookies, or set this configuration in Postman:

  1. Go to Manage Cookies


2. Click Whilelist Domains

 

3. Add domain. This can be Localhost, staging, etc (depending the environment you want to test).

4. And in the POST oauth/token request, add the following code…

pm.cookies.jar().unset(pm.environment.get("pos_url"),'connect.sid');

… as pictured below.

This is done to get the postman working on different environments. You will need to whitelist all the different environments, you will be using in Postman (for example, “posapi-mi.flexiti.fi” - without http:// or https://)

 

 

Related content

Test and Production Environments
Test and Production Environments
Read with this
Overview - Flexiti's POS API
Overview - Flexiti's POS API
Read with this
Channel Processes - POS API - Instore Channel
Channel Processes - POS API - Instore Channel
Read with this
Flexiti SDK - Online API Apply Flow
Flexiti SDK - Online API Apply Flow
Read with this
Transactions Endpoints - POS API
Transactions Endpoints - POS API
Read with this