a Basic Sample to show API authentication and requests