In Angular, it is common to create a separate service class to handle HTTP calls throughout your application. This approach allows you to centralize your HTTP logic, promote code reusability, and separate concerns. To create a common service for making HTTP calls with separate query parameters in Angular, you can…