got the http requests being sent correctly