Doug Black
Posts: 0
Joined: Wed Aug 14, 2013 11:36 am

PUSH from App

I'm trying to send push notifications from my app. I followed the tutorial you gave about creating the REST service. I'm trying to create the service response from the Test view. However, I get this error:

precode
{
"status":"405 Method Not Allowed",
"url":"https://api.appery.io/rest/push/msg",
"response":{
"code":"BCXX004",
"description":"No resource method found for GET, return 405 with Allow header"
}
}
/code/pre

Can you help?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

PUSH from App

Hi Doug, you need to use the POST method instead of GET. More info here :: http://docs.appery.io/documentation/p...

Doug Black
Posts: 0
Joined: Wed Aug 14, 2013 11:36 am

PUSH from App

Thanks, I missed that in the tutorial.

However, now I'm getting this in the test:
precode
{
"status":"400 Bad Request",
"url":"https://api.appery.io/rest/push/msg",
"response":{
"code":"PNMN007",
"description":"Serialization error"
}
}
/code/pre

Doug Black
Posts: 0
Joined: Wed Aug 14, 2013 11:36 am

PUSH from App

Nevermind, got it! Saw this: https://getsatisfaction.com/apperyio/...

Thanks for your help!

Return to “Issues”