Hi guys,
Out of authorization reasons I need to pass some additional headers.
I saw there is a possibility within the cloneOptions that there is the type fetchOptions which has also a type where you can pass customHeaders (type strarray).
Unfortunately I have no idea how to use this strarray.
I need to add some token like
Authorization: Basic XCVd
Proxy-Authorization: Bearer GDNkkk
and so on.
Could you give me an example?
Thanks in advance
Hi guys,
Out of authorization reasons I need to pass some additional headers.
I saw there is a possibility within the cloneOptions that there is the type fetchOptions which has also a type where you can pass customHeaders (type strarray).
Unfortunately I have no idea how to use this strarray.
I need to add some token like
Authorization: Basic XCVd
Proxy-Authorization: Bearer GDNkkk
and so on.
Could you give me an example?
Thanks in advance