What "http://127.0.0.1:8080/ipfs/hash" real do?

I want to know if I download a file use http://127.0.0.1:8080/ipfs/hash like this:
http://127.0.0.1:8080/ipfs/QmayLEpx61XxcJ4TJB9CvdSUWpg16Ey57yziM8tPZFdAH6

what it do in commond line ?
Does it equals to “ipfs cat QmayLEpx61XxcJ4TJB9CvdSUWpg16Ey57yziM8tPZFdAH6 >> file”
and does it do “ipfs get QmayLEpx61XxcJ4TJB9CvdSUWpg16Ey57yziM8tPZFdAH6” in the end?

I clicked your link and it just displayed in the browser. So it’s like ‘ipfs cat’.
If your browser asks you if you want to download the file then it is like ‘ipfs get’.

If the file added can be viewed in the browser, it will display by default in the browser = ipfs cat
example
http://127.0.0.1:8080/ipfs/Qmf8MxPycz5zXmpaH7MCqX5Nk4yLpwXyXG4s93FYuqdfvf

If the browser cannot read the file, it will ask to download it = ‘ipfs-cat’ or open with an external application like media player.
example
http://127.0.0.1:8080/ipfs/QmVBza7E47fDQzL1AUTEyzZkrQDyziwpzVyJ365EkPpMm5

If you type ‘ipfs cat QmayLEpx61XxcJ4TJB9CvdSUWpg16Ey57yziM8tPZFdAH6’ in the command line, it will show raw data of the file…which cannot be displayed in the command line.

if you type ‘ipfs get QmayLEpx61XxcJ4TJB9CvdSUWpg16Ey57yziM8tPZFdAH6’ the file will be downloaded to local storage and you can open it with the correct application.

The top of the picture is ‘ipfs cat’ output
The ipfs hash in the directory is your file. You just have to change the file extension back to jpg to view the file.

If you want ‘ipfs get’ in the browser, just right-click the video or picture and “Save file as”.