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

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

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

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?

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

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

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?

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

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

Hello Elle,

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

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

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

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

Raquel Forde
Posts: 0
Joined: Mon Jun 30, 2014 1:36 pm

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

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

raquel

Rena Hearn
Posts: 0
Joined: Thu Jul 24, 2014 7:04 am

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

Hi Elle,

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

Thanks
Rena

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

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

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

Rena Hearn
Posts: 0
Joined: Thu Jul 24, 2014 7:04 am

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

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.

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

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

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

Return to “Issues”