rest api /create returns created object