Fix http-api