Creating a variable for internal api url