How to send user specific notification via Web push

Viewed 3200

I'm implementing web push on chrome and everything works well except that I don't know how to get user specific notification from the server. On send, everybody gets d same thing.

Is there a way I can pass endpoint ID to the latest notification request from service worker? Or how else can I do this?

Thanks.

2 Answers
Related