I need to pass a flag to the service request call in order to filter out and do some actions for the request in the angular interceptor file.
Is there any angular specific methods available to implement this functionality, other than modifying the request with flag as query-param or body param.
FYI: -Angular version 8
You can use a service to hold the updated flag,and inject that service to the interceptor and then do whatever you need to do with the request nor the data that is being sent