HTTParty gemfile.
Configure localhost url in env.
Change HTTP for HTTParty.