Call the notification sample mobile application (notificationHandlerTest_1.0.1)

Options

I'm trying to call the sample notification mobile app interface notificationHandlerTest_1.0.1

I tried to follow the Notification article instructions but could not get it to work. I felt some information was missing for me as I'm not an expert user.

I have installed the component that responds to notification of type 'test'. I'm a bit uncertain about where to put my information, but I decided after Googling, to put it all in the body.

My call is:

POST
http://<ip>:8080/gateway/v2/notifications
Content-Type: application/x-www-form-urlencoded

Body:
key=ef2395926c0dfff7a28e050e8e2026ab1ac0e1da32b2c58&message={"type":"test","displayType":"show","body":"Test notification sent","header":"NOTE!"}&users=ohellgre

I have also tried escaping to non alpha-numeric characters with URL Encoding.

Response: 400 Forbidden

It seems I'm missing something trivial but I can't figure out what?

Comments