RequestInit.headers - Web documentation
property RequestInit.headers

A Headers object, an object literal, or an array of two-item arrays to set request's headers.

Type