Added 2 more Parameters Env and Type. Updated Send data to reduce number of lines of code. Before I was using an if else statement now I'm using a Dictionary and getting the url via the Key which is the enviroment set when running the program.