Demo the usage of both the Sync and Async APIs