Implemented an HTTP API example