Salt is known for its water retention properties. If we intake a solution, which contains excess amounts of salt , then water from solution moves into the intestines, putting pressure on the intestinal walls. The intestine is unable to cope up with this pressure and fell nauseating, which finally results in vomiting.
The phenomenon responsible here is " Osmosis" .