Fix bug with initializing our API context.
Initial pass of http request implementation.