In this talk, we consider the regression framework where the regression function belongs to an exponential family for example logit regression, poisson regression, exponential regression and so on. First, we introduce various examples and some simulation results as a motivation. Then, we present our robust procedure which is based on rho-estimation. We will show the theoretical performance of our estimator under a suitable parametrisation is optimal up to a logarithmic factor.