Search code examples
androiddrupaldrupal-7push-notification

Android Push notification using Drupal HTTP Post error "Access denied for user anonymous"


When I'm trying to register user on host url generated by drupal module it throws an error:

"Access denied for user anonymous"

I'm sending Parameters

  1. token=Reg id generated from GCM Google
  2. type=android

Please any one help me to solve this ...


Solution

  • Enable permissions for anonymous user in Drupal administration - People/Permissions/Push permissions. It helped me.