trying to figure out httpRequest nonsense