Closed berwin closed 5 years ago
Currently, the data reporting behavior is the way to use new Image().src = 'xxx?a=b', so our company's data center only supports the parameters passed by the GET method, but currently Beacon only supports the POST method, so I can't use Beacon.
new Image().src = 'xxx?a=b'
That use-case is tackled by the fetch() API and its keepalive flag. You should use that instead of beacon.
fetch()
Hahaha, I see. thank you~
Currently, the data reporting behavior is the way to use
new Image().src = 'xxx?a=b'
, so our company's data center only supports the parameters passed by the GET method, but currently Beacon only supports the POST method, so I can't use Beacon.