I need to find $$I=\int^{\infty}_0\frac{\sin(x)}{e^x+1}\text{ d}x$$
I have tried using Feynman's method by introducing $$I(t)=\int^{\infty}_0\frac{\sin(tx)}{e^x+1}\text{ d}x$$ but this has led me nowhere.
I tried using parts to see if I can change this to anything useful but in both cases the result is a mess.
I tried then substituting the exponential equivalent of $\sin(x)$ into the integral which at first seemed ot make progress but ultimately ended up in an integral involving the hypergeometric function (something I am not comfortable in using) so it would be a pain trying to find the definite integral:
$$\int_0^{\infty}\frac{\sin(x)}{e^x+1}\text{ d}x=\frac{1}{2i}\int_0^{\infty}\frac{e^{ix}-e^{-ix}}{e^x+1}\text{ d}x$$ $$\implies u=e^x+1,\qquad\text{d}x=\frac{du}{u-1}$$ $$\implies\frac{1}{2i}\int^{\infty}_2\frac{(u-1)^{i-1}-(u-1)^{-i-1}}{u}\text{ d}u=\text{hypergeometric junk with bounds}$$
I also tried integrating about a rectangular contour with semi/quarter-circles cut out about the poles that appear on $\Im(z)$ every $2\pi$ as the rectangular contour goes to positive infinity on $\Re(z)$ but that did not really go well (I am also bad at complex analysis so rip)
So I am completely out of ideas. Any help would be appreciated!
Edit: I now see how you can use series to solve this but I’m wondering if you can use residue theorem or contours as well?