http-api passing