Skip to Content
0
Feb 18 at 08:36 PM

how to send notifications through the REST API?

627 Views Last edit Jun 02 at 12:17 PM 2 rev

Hello.

I am trying to send push notifications via Rest API.

but when making the request in postman it throws me the following error 401 or 404, I have followed the steps in the documentation but the problem is not resolved.

service key

25.jpg

This generates an API key along with a URL which can be used in 3rd party clients like POSTMAN.

1.pngSelect Authorization

21.jpg

Add below headers

22.jpgThe body of the message

24.jpg

can you give me any solution?

For this I am guided by the following documentation.

https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/features/push/api/native-providers.html

https://help.sap.com/viewer/38dbd9fbb49240f3b4d954e92335e670/Cloud/en-US/aaec2dbe78ec4fc08ef0a605a899e3dd.html

Attachments

25.jpg (610.0 kB)
1.png (24.5 kB)
21.jpg (926.7 kB)
22.jpg (696.8 kB)
24.jpg (705.7 kB)