Server Side Swift: basic Client-Server communication example for iOS and Android

This is a repost of a Q&A pair I wrote on Stack Overflow.

Learning a new technology is a time consuming process. It was for Android with Java. And it was again for iOS with Swift. I’m now faced with the challenge of needing to provide a server backend for both Android and iOS apps. However, I would like to avoid the large time…