Actually I got stuck in a integration it is $$\int_{-\pi/4}^{\pi/4} \frac{\sec^2x}{1+e^x}dx$$
I tried multipying and dividing by $\tan x$ and then substitution but nothing worked for me. I am not understanding the way to solve it. Please give me a hint to start for this integration.