Crystal Ege
Posts: 0
Joined: Wed Mar 26, 2014 6:58 pm

REST service stopped working

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

REST service stopped working

Hello!

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

Crystal Ege
Posts: 0
Joined: Wed Mar 26, 2014 6:58 pm

REST service stopped working

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.

Crystal Ege
Posts: 0
Joined: Wed Mar 26, 2014 6:58 pm

REST service stopped working

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

REST service stopped working

Thank you for update!

Elle Bolt
Posts: 0
Joined: Mon Jan 13, 2014 5:56 pm

REST service stopped working

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

REST service stopped working

Hello Elle,

Do you need Support Team to assist?

Return to “Issues”