Page 1 of 1

REST service stopped working

Posted: Tue Apr 29, 2014 4:17 pm
by Crystal Ege

The rest services for the app I am building were working yesterday and this morning they stopped.

I am able to view content when doing a Test on the service but it is failing to populate within the app.

How do I fix the rest service?


REST service stopped working

Posted: Tue Apr 29, 2014 5:29 pm
by Maryna Brodina

Hello!

Have you changed anything? Are there any errors in console?


REST service stopped working

Posted: Tue Apr 29, 2014 5:38 pm
by Crystal Ege

Hi Maryna,

I stopped working yesterday evening and began again this morning and it wasn't working. I haven't changed any code.

I am receiving this error in the console
XMLHttpRequest cannot load https://dsp-premier.cloud.dreamfactor.... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not allowed access.


REST service stopped working

Posted: Tue Apr 29, 2014 6:14 pm
by Crystal Ege

There was a change in the REST service that I was using. I enable CORS that fixed it. Thanks for your assistance!


REST service stopped working

Posted: Tue Apr 29, 2014 7:24 pm
by Maryna Brodina

Thank you for update!


REST service stopped working

Posted: Tue May 27, 2014 1:32 pm
by Elle Bolt

Hi Crystal,

Please tell me how you configured your Dreamfactory Rest api in appery.io to get it to work.
I have enabled CORS in the config tab on Dreamfactory but i still can't get it to work.

Many Thanks,
Elle


REST service stopped working

Posted: Tue May 27, 2014 4:55 pm
by Evgene Karachevtsev

Hello Elle,

Do you need Support Team to assist?