Page 1 of 2

Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Tue May 27, 2014 7:56 am
by Elle Bolt

I have created a hosted rest api account with DreamFactory connected it to my mySql db with out any hassles but just can get it configured on appery.io

i keep getting the following error.

{
"status":"500 Internal Server Error",
"url":"https://dsp-wesave.cloud.dreamfactory...",
"response":""
}

any ideas will be appreciated.


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Tue May 27, 2014 9:22 am
by Kateryna Grynko

Hi Elle,

Where do you get this error, on service test tab or app preview? This is the error of DreamFactory server. Try passing the same parameters via any REST client, for example, Postman. Is the result the same?


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Tue May 27, 2014 10:03 am
by Elle Bolt

Hi Katya,

the error was on the service test tab.
tested the rest service with Postman and it returns "status 200 ok" with all my data.

any other ideas?


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Tue May 27, 2014 3:33 pm
by Evgene Karachevtsev

Hello Elle,

Could you please send us screenshots of your service settings, request and test pages of your service, screenshot from Postman.


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Tue May 27, 2014 7:24 pm
by Elle Bolt

Hi Evgene,

Thanks sorted it out not really sure what i did differently but it works now. If i do figure out what changed i'll make sure to post it here.

If anyone wonders DreamFactory is a really nice open source REST API solution.

Regards,
Elle


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Mon Jun 30, 2014 1:36 pm
by Raquel Forde

hi elle i am having the same issue did you ever figure out what you did differently

raquel


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Sat Sep 13, 2014 6:51 am
by Rena Hearn

Hi Elle,

I am getting the same error. Can you offer any advice?

Thanks
Rena


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Sat Sep 13, 2014 7:18 am
by Elle Bolt

Hi Rena,

Sure I'll try and help.
Here is a example of a working service in my app.

First create a rest settings service.

Image

create your service.

Image

set the request parameters.

Image

then lastly you should make sure that CORS Access is granted on your Dream fatcory Server

Image

Let me know if you need more help, I'd be happy to assist.

Elle


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Sat Sep 13, 2014 7:33 am
by Rena Hearn

I am not sure what to put for the database url...I am using dreamfactory for an rest api for my existing mysql database on my server. Would I use that address?

Sorry for the dumb questions.


Does anyone know how to use DreamFactory Rest API with appery.io

Posted: Sat Sep 13, 2014 7:46 am
by Elle Bolt

Have you already connected DreamFactory to your mysql DB?

if so you can find the url in the LaunchPad under API DOCS -

Image

you should see your service name here.

the base URL at the bottom of the screen will be the URL we want to use but only up to .../rest/

hope it helps