$$\int\frac{1}{1+\sin(x)} dx$$
The integration techniques I know are:
Inspection, power rule, integral of basic functions (also trig), and substitution
But none of them help me solve this.
How can I solve this integral with the techniques I know so far?
Hint: Note that $$\frac{1}{1+\sin x}=\frac{1-\sin x}{1-\sin^2 x}=\frac{1-\sin x}{\cos ^2x}=\sec^2x-\sec x\tan x.$$ Then recall that $$(\tan x)'=\sec^2x,\quad (\sec x)'=\sec x\tan x.$$