I would go as far to say that it showed the world that resistance to foreign rule was possible, i.e. Gandhi a few years later. Any thoughts?
As /u/mtaw pointed out, the Boxer Rebellion actually imposed more restrictions on China and ultimately contributed to the fall of the Qing Dynasty.
The successful rebellions against foreign rule in the Americas was far more notable for success against European imperialism.
The ultimate factors that made resistance possible to imperialism was of course the two world wars, which destroyed or severely weakened the great imperial powers of Europe as well as ushering concepts such as self-determination, the rise of nationalism, and various political movements (notably communism) which were decidedly anti-imperialist
China wasn't under foreign rule (unless you count the Manchu origins of the Qing, and the Taiping Rebellion 40 years earlier was a far larger revolt against them) China had however been bullied into territorial losses and the infuriating demands of the unequal treaties. The Boxer rebellion lead to an order of magnitude more Chinese deaths than that of foreign troops, the defeat of the Boxers, and yet another unequal treaty. (and others were yet to be imposed)
So I don't see how that showed such a thing. If anything, I'd say it made it look all the more futile, when an expeditionary force of some tens of thousands of European and Japanese troops defeated the most populous nation on Earth.
In the Americas, you had former (actual) colonies that had gained independence. In Africa there was Ethopia, successfully resisting colonization attempts at the time. In India, there had been the Rebellion of 1857, which failed as well, but at least it was their own. So why would Gandhi have been inspired by the Boxer Rebellion in particular?