Compute the integral $$\int_{-\infty}^\infty \frac{e^x}{1 + e^{4x}}dx$$
My attempt: I tried applying residue integration. There are four simple poles in the upper half plane: $z \in \{\pi/4, 3\pi/4, 5\pi/4, 7\pi/4\}$. However evaluating all of these singularities and summing them gives the value $0$ due to symmetry, so I get that the integral evaluates to $0$ which is incorrect. Not sure what I'm missing in my approach.
Any help is appreciated.