Navigator.sendBeacon() to pass header information
<p>I am using <a href="https://www.w3.org/TR/beacon/" rel="noreferrer">navigator</a> for communicating with the server , but problem is that we need to pass some header information as there is filter which recognise the request is from the valid source.</p>

<p>Can anybody help on this?</p>

<p>Thanks.</p>