Configuring Multi Cluster Setup in Postman

Written by arvindkgs | Published 2021/01/13
Tech Story Tags: postman | distributed-infrastructure | testing | rest-api | backend | webhook | api | programming

TLDR Using pre-request script to store the access tokens, refresh token as a value object in a map with key being the cluster URL. This can be avoided by using environment variables. Using environment variables, you can switch to different clusters easily by switching the environment. The code is set via the environment variables. It is now possible to use the environment to switch between clusters in different environments. The configuration is set by the same environment that is used for a single cluster setup in the US and EU data center.via the TL;DR App

no story

Written by arvindkgs | Passionate software developer, Linux enthusiast, clean code crusader, DIY advocate, Tech Evangelist
Published by HackerNoon on 2021/01/13