[flagged]
The shape of the earth has innumerable physical consequences, all of which we observe and measure to be consistent with it being approximately spherical. If you want to say that it behaves in every observable way like a sphere, but somehow is "really" flat, then the definition of "reality" you're using is not a very useful one.
I perceive (sense) a flat earth, but outside of my perception it is demonstrated to be a globe.
I like the word demonstrated. It helps to illustrate that it is wholly possible that the demonstration is an illusion, the same way it is possible that our perception is an illusion.
And so we know. No, it's not "flat outside that perception". It's a globe, full stop.