It was Coke that was intended as medicine originally. It was a pick-me-up tonic combining caffiene (Kola plus more added) and the cocaine found in the coca leaf, neither of which tasted very good, so the flavoring in Coke was developed to mask/complement those bitter tastes. And of course, it soon became known that it made a good drink when combined with tonic water. Pepsi on the other hand was one of a few different fountain drinks the Bradham had at his pharmacy's fountain. Of the ones he came up with, it was the most popular, known as "Brad's Drink" before he decided to call it Pepsi. And yes it was supposed to have something of a medicinal quality, the term Pepsi itself was supposed to be relate to better digestion - "pepsin" being a name for a digestive enzyme and "dispepsia" a common term back then for indigestion. But I think that was mostly a marketing thing, as the original formula doesn't really have any "active" ingredients other than carbonated water and acid. In fact, it passed the 1906 Pure Food and Drug act without any modifications, whereas Coke had to remove the cocaine from its product at that time to comply.
-Andy
Give me some cane sugar Pepsi in a glass bottle!!