Why is my logging Web Service Endpoint for Safari Push Notifications receving blank requests with no error message
|July 11, 2014||Posted by forumadmin under TechQns||
I am setting up a basic web service to send safari push notifications. I have set up my apple certificate and push package endpoint. However when I make a call to get the push package it fails and the user does not get a prompt requestion permission. This doesn’t surprise me, the real issue is that I am not getting a failure message at my logging endpoint so that I can determine what the issue is.
What I have tried
I have added logging at both the push package request and log level and I know these are being triggered as I log a timestamp when they are called. However the logging message for my webServiceURL/version/log is logging that there is no content. If I test the log api with postman I successfully log the entire message, but I only ever get an empty value when called via my requestPermission call.
Note: I am getting the content with this command:
Which returns array()
What is needed
To figure out how to log error messages so I can debug issues.
|Asked By – user3559247||Read Answers|