Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When can Beacon support the GET method? #64

Closed
berwin opened this issue Nov 20, 2018 · 2 comments
Closed

When can Beacon support the GET method? #64

berwin opened this issue Nov 20, 2018 · 2 comments

Comments

@berwin
Copy link

berwin commented Nov 20, 2018

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.

@yoavweiss
Copy link
Contributor

That use-case is tackled by the fetch() API and its keepalive flag. You should use that instead of beacon.

@berwin
Copy link
Author

berwin commented Nov 20, 2018

Hahaha, I see. thank you~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants