Which of the following code snippets correctly implements this conditional logic?
hard🚀 Application Q8 of 15
Angular - HTTP Client
You want your Angular interceptor to add an authentication token only to HTTP requests whose URLs start with 'https://api.example.com/'. Which of the following code snippets correctly implements this conditional logic?