What is Traceparent and Request-id Http Request Headers? And why/how does a raw fetch automatically add these while Angular’s HttpClient doesn’t?
I have encountered a peculiar scenario where a the same exact api request using fetch
vs Angular’s HttpClient
has a difference. Particularly, the Traceparent
and Request-id
are automatically added by fetch
but Angular doesn’t.
What is Traceparent and Request-id Http Request Headers? And why/how does a raw fetch automatically add these while Angular’s HttpClient doesn’t?
I have encountered a peculiar scenario where a the same exact api request using fetch
vs Angular’s HttpClient
has a difference. Particularly, the Traceparent
and Request-id
are automatically added by fetch
but Angular doesn’t.