Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Are there any code examples of how to interact with DreamFactory?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Last Post: Dec 1, 2015 10:16 AM Last Post By: Jameson Leal
Mark Patterson

Posts: 15
Registered: 5/28/07
Are there any code examples of how to interact with DreamFactory?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 8, 2015 5:56 PM
Hi

We are looking at using DreamFactory to enable our database apps to work on mobile. But the web seems pretty poor in how to connect delphi to dreamFactory. Can anyone offer help?

TIA
Mark
Ioannis Ypatidis

Posts: 1
Registered: 12/22/09
Re: Are there any code examples of how to interact with DreamFactory?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 10, 2015 3:16 PM   in response to: Mark Patterson in response to: Mark Patterson
Mark Patterson wrote:
Hi

We are looking at using DreamFactory to enable our database apps to work on mobile. But the web seems pretty poor in how to connect delphi to dreamFactory. Can anyone offer help?

TIA
Mark

Hi ! you can try doing it with the REST components of delphi , restresponse1, restrequest1 and restclient1 . Although I am still trying it and I get a 500 error .While with the same URL I use it in a browser everything works fine.

https://df-johny.enterprise.dreamfactory.com/api/v2/getdata/_table/Consumption?filter=coreid%3D360038000647343138333038&limit=1&order=unixtime%20DESC&fields=hum&api_key=1abcb14bcc0ceb91950a27c44c274c965f17422c06167543c262882526bdd2d3

This is the URL , any suggestions?
Eli M

Posts: 1,346
Registered: 11/9/13
Re: Are there any code examples of how to interact with DreamFactory?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 12, 2015 9:16 PM   in response to: Mark Patterson in response to: Mark Patterson
Just use TRESTClient with DreamFactory.

I had this built for me but you're welcome to use it.

http://www.fmxexpress.com/wp-content/uploads/DreamFactory.rar
Jameson Leal

Posts: 2
Registered: 8/28/12
Re: Are there any code examples of how to interact with DreamFactory?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2015 4:34 AM   in response to: Eli M in response to: Eli M
Eli M wrote:
Just use TRESTClient with DreamFactory.

I had this built for me but you're welcome to use it.

http://www.fmxexpress.com/wp-content/uploads/DreamFactory.rar

I tested his example in Dreamfactory 2.0 but failed to login whith the server.

Eli M

Posts: 1,346
Registered: 11/9/13
Re: Are there any code examples of how to interact with DreamFactory?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2015 5:15 AM   in response to: Jameson Leal in response to: Jameson Leal
It's for DreamFactory ~1.9.
Jameson Leal

Posts: 2
Registered: 8/28/12
Re: Are there any code examples of how to interact with DreamFactory?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2015 10:16 AM   in response to: Eli M in response to: Eli M
Eli M wrote:
It's for DreamFactory ~1.9.

Do you have any examples to login in version 2.0? Grateful
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02