Adding HTTP API support