Page 1 of 1

Include Parameter in URL?

Posted: 28. Mar 2020, 23:38
by swgm11
Dear Team.

pushsafer looks neat and could be exactly what we need.

one question:
We would like to have people confirm the push notification. so that we know who has responded.
For this we were thiking to use the pushsafer parameter "URL"

But for this, Pushsafer app need to call our webservice with the information WHO calles it.
like gicing the the pushsafer device ID or the pushsaver device Name.

for example:
u=http://mysite.io/user={{PUSHSAFER-DEVICE-ID}}

is this possible?
i could not find any information about this on your site.

Rds,
Sascha

Re: Include Parameter in URL?

Posted: 28. Mar 2020, 23:59
by admin
Hello,

yes it is possible, but you have to solve this on your side! For each push-notification you have to transmit a URL with a fixed parameter (user, user ID). If the link is opened by a user, you can evaluate the parameter on your server!

If you have further questions, please feel free to ask!

Hop e this helps!

If you have further questions, please feel free to ask!

Kevin

Re: Include Parameter in URL?

Posted: 29. Mar 2020, 19:11
by swgm11
Hallo Kevin,

ohh.. thanks!!
My thought process was sending one Call to notify all members. in that case i cannot control this (d=a)

But of course, your proposal totally makes sense.
So I would send individual API calls (one for each device) and hand over the needed URL.

Thanks.
I will probably come back sooner or later with one or two more questions :-)

cheers,
Sascha

Re: Include Parameter in URL?

Posted: 29. Mar 2020, 19:50
by admin
if you send one push-notification to 10 devices = 10 API calls is the same you send 10 unique messages.

Kevin