Page 1 of 1

Custom REST Request Works on Test but Fails in App

Posted: Fri Dec 27, 2013 6:28 pm
by Christopher Herold

I have created a custom REST request that works when I test it. But when I implement it in the App it doesn't return a response.

When I set the URL for the service as:
http://www.myurl.com/restexposure/?x=...

  • It DOES work both in the Test and in the App.

    But When I set the URL for the service as:
    http://www.myurl.com/restexposure/?x=1

  • and then I set up the request variables for the service as 'y' and 'z'

  • and set y and z as 2 and 3, it will work in test

  • but when I do the same for the service request in the app I get no response.

    I AM using Appery proxy service.

    Any ideas what I am doing wrong?

    Thanks!
    Chris


Custom REST Request Works on Test but Fails in App

Posted: Fri Dec 27, 2013 7:58 pm
by maxkatz

Did you try the steps here to debug: http://docs.appery.io/documentation/d...?

How do you map the request parameters in mapping?

Use browser dev. tools Network to see the exact request that's being sent to the service. It might be missing data or the parameters.