Page 1 of 1

PUSH from App

Posted: Tue Nov 12, 2013 9:14 pm
by Doug Black

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?


PUSH from App

Posted: Tue Nov 12, 2013 10:01 pm
by Illya Stepanov

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


PUSH from App

Posted: Wed Nov 13, 2013 1:50 am
by Doug Black

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


PUSH from App

Posted: Wed Nov 13, 2013 1:54 am
by Doug Black

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

Thanks for your help!