works, but add test to verify top line of http request