04-17-2013 09:36 AM
Find that one out couple of minutes ago and now the server responds with 200 OK. But I don't get any response in my application. Is it possible to see that the push service received my message correctly? Or does 200 OK means that it is ok and will be send to the device?
These are the headers I use
POST /mss/PD_pushRequest HTTP/1.1 host: cp3696.pushapi.eval.blackberry.com port: 443 Content-Type: multipart/related; boundary=PMasdfglkjhqwert; type=application/xml Content-length: 640 Authorization: Basic AUTH_TOKEN
In the mail that I received from BlackBerry, they gave me a push port. What do I have to do with that one?
04-17-2013 09:41 AM
There will be an HTTP response associated with the 200.
It will contain PAP XML containing the status of your push request. It will indicate whether it was accepted for processing (not whether it was successfully delivered).
04-17-2013 09:57 AM
Thank you so much for helping. Managed to send push messages from my nodeJs server to my application. The thing I forgot in my pap message was the attribute: