Update article.md

This commit is contained in:
Ilya Kantor 2020-11-15 14:32:14 +03:00 committed by GitHub
parent 331fafd626
commit 99e59ba611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ let analyticsData = { /* object with gathered data */ };
window.addEventListener("unload", function() {
navigator.sendBeacon("/analytics", JSON.stringify(analyticsData));
};
});
```
- The request is sent as POST.