integral-calculator.com gets $2 \sin{(\frac{x}2)} - 2 \cos{(\frac{x}2)} + C$ for the indefinite integral of $\sqrt{1 + \sin{x}}$, and $2^{\frac{3}2}\sin(\frac{x}2)+C$ for that of $\sqrt{1 + \cos{x}}$. However, the method it uses involves these advanced trig identities which I've never heard of:
...and my professor has literally warned me about unorthodox derivations with online integral calculators.
This is due to half-angle identities, for example $1+\cos x=2\cos^2\left(\frac{x}{2}\right)$. This half-angle formula is a special case rewriting and rearrangement of the double angle formula $\cos(2\theta)=2\cos^2(\theta)-1$, by plugging in $\theta=\frac{x}{2}$, and adding $1$ to both sides of the equation. And the double-angle formula is itself a special case of the addition formula $\cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta$ (with $\alpha=\beta=\theta$), and the pythagorean identity $\sin^2+\cos^2=1$.
Summary: addition formula + pythagorean identity $\implies$ double-angle formula $\implies$ half-angle formula.