On page 81 of Stein and Shakarchi's Complex Analysis, there is an inequality, \begin{equation} \left\lvert \int_{A_{R}} f \right\rvert \leq \int_{0}^{2\pi}\left\lvert\frac{e^{a(R+it)}}{1+e^{R+it}} \right\rvert {\rm{d}}t \leq Ce^{(a-1)R}, \end{equation} where $f(z)=e^{az}/(1+e^z)$ and $A_R$ is the vertical path from $z=R\in\mathbb{R}$ to $z=R+2\pi i\in \mathbb{C}$.
Can any one demonstrate how the second step is obtained? I appreciate the help.