Share or send files between servers using the command line without SSH or SCP

I wanted to share a file between 2 servers in the simplest and quickest way possible, but I had one problem: these servers do not have their own SSH keys so I couldn’t use scp or rsync unless I create and exchange keys between the servers/machines.

Most if not all linux distributions come with python pre-installed, MacOS too (I think)
So the solution is (using python):

# on the server you want to share from
cd <directory containing file(s)>
python -m SimpleHTTPServer # python 2
python3 -m http.server # python 3

This will serve whatever is in your current working directory on

Then you can use wget or curl to download the file on the server you want to share to.