wip: http request functionality