Boil and Mash the Potatoes – Peel and dice the potatoes, then boil them in salted water until tender. Drain and mash until smooth.
Mix the Ingredients – In a bowl, combine the mashed potatoes with chopped ham, flour, egg, and pepper. Stir until a dough forms.
Shape the Cakes – Take a portion of the mixture, flatten it into a patty, place a cheese slice in the center, and seal with another layer of potato mixture.
Pan-Fry to Perfection – Heat vegetable oil in a skillet over medium heat. Fry the potato cakes for 3–4 minutes per side until golden and crispy.
Serve and Enjoy – Garnish with fresh greens and serve warm with your favorite dipping sauce.