THINK-299-TRN Use environment specific api url