We apply Basic Authentication in our application to prevent our API from anonymous access, only authorized users can access API.