updates to http for get, put, post, delete needs more testing