To Check API Authentication and Authorization.