Update base.rb

Uri configuration
It seems that if we're going to add in this local var, we should use it down in line 39 in the post request. Mind adding that in and then squashing the commits together?