Send Image withj Pushsafer Notification

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

======================
Google Play
App Store
Windows 10 Store
Homepage
yufretti
Posts: 1
Joined: 3. May 2019, 08:34

Send Image withj Pushsafer Notification

Postby yufretti » 3. May 2019, 08:44

Hi,
I need to send a Notification with a little PNG picture. I have coded the image with base64 encoder and I have generated this link:


https://www.pushsafer.com/api?k=[***my*private*key***]&m=Test&p=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAV4AAADICAMAAACXvXnCAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAABsUExURUdwTP///3FzhGRleRkaMSEiOBMUKxobMho .......

The notification are correctly send to my iPhone, but the included image does not arrive.
Where am I doing wrong?
Thanks.

Yuri

User avatar
admin
Site Admin
Posts: 463
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Send Image withj Pushsafer Notification

Postby admin » 3. May 2019, 09:04

Hi Yuri,

the length of urls are restricted (about 2000 chars)! There are differences in browsers or other system environments.
I recommend you to send the api request as POST, like the examples here

https://www.pushsafer.com/en/pushapi

Regards Kevin
DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10


Who is online

Users browsing this forum: No registered users and 2 guests