var dump and trying to fix http request calls