Using environments and variables to dynamize requests