Page 1 of 3

Secure REST doesn't work

Posted: Wed Feb 12, 2014 3:24 pm
by Sam6522984

It seems the values don't get replaced, here are my settings and other stuff:
Image
Image
Image
Image
Image

Thanks for your help.


Secure REST doesn't work

Posted: Wed Feb 12, 2014 3:56 pm
by Kateryna Grynko

Hi Sam,

The issue seems to be on server side. Could you do this request in REST client?


Secure REST doesn't work

Posted: Wed Feb 12, 2014 4:05 pm
by Sam6522984

yes, I built the app with normal services and everything works. So the issue shouldn't be on server side.


Secure REST doesn't work

Posted: Wed Feb 12, 2014 5:54 pm
by Kateryna Grynko

Sam,

Did you check this on device without proxy? Does it work?


Secure REST doesn't work

Posted: Wed Feb 12, 2014 6:14 pm
by Sam6522984

The app works just fine without the proxy, I have a lot of services to the same backend and I had never problems. This issue appears only with the proxy, I am testing the app in the appery tester and as apk on two different smartphones.


Secure REST doesn't work

Posted: Wed Feb 12, 2014 9:31 pm
by Kateryna Grynko

Sam,

Could you please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? We'll test it.


Secure REST doesn't work

Posted: Thu Feb 13, 2014 4:27 pm
by Sam6522984

Hi Katya,

I shared the project with you, you can use the user "Appery" with password "login123". The name of the service is "CampaignListService" and is called in the loginView after authenticate and getUserProgress.


Secure REST doesn't work

Posted: Thu Feb 13, 2014 10:20 pm
by Kateryna Grynko

Sam,

You should tick 'Use Appery.io Proxy' in service settings.


Secure REST doesn't work

Posted: Fri Feb 14, 2014 12:39 pm
by Sam6522984

Hi Katya

I already have done that, I used your tutorial and checked every step twice. I think there is a problem with the replacement of the values, but I can't find out where.

Thanks for your help


Secure REST doesn't work

Posted: Fri Feb 14, 2014 5:48 pm
by Kateryna Grynko

Hi Sam,

If you enable Appery.io proxy in services it will work on preview. Please enable proxy for all services that access your server data.

This doesn't work on service Test tab most probably because you use secure proxy, this is to protect your data.