Questions tagged [dreamfactory]

DreamFactory is an open source REST API backend for mobile, web, and IoT applications.

DreamFactory is an open source REST API backend for mobile, web, and IoT applications.

  • REST API Automation
    Create services automatically to increase standardization, governance, and compliance while reducing cost, complexity, and confusion.
  • REST API Customization
    Use server-side scripting to customize the request or response of any API, or to build entirely new services from scratch.
  • REST API Security
    Secure every API endpoint with user management, SSO authentication, role-based access control, OAuth and Active Directory integration.

  • Web Site

63 questions
3
votes
3 answers

New Angular HTTPClient Get Response Data from Dreamfactory API

I am attempting to write an Angular 6 service that connects to the DreamFactory API. I have managed to extract json data from the "brand" table in a database that I have allowed DreamFactory to manage. I am able to send a get request to the API so…
2
votes
1 answer

Stripe Subscription - Update the stripe subscription amount

I have created a plan with subscription amount of 15 dollars for a month of duration using subscription API from the backend. When a customer subscribes to it, next monthly invoice for 15 dollars is automatically created. Now, At the backend admin…
Deepa
  • 65
  • 1
  • 7
2
votes
1 answer

Dream factory URL

I have a url like http://host/api/v2/service in dream factory. I am finding the method to disable the part api/v2 from the url to obtain the final url like http://host/service . Can i do it or it is limited by Dream Factory?
XIZ7
  • 39
  • 1
2
votes
2 answers

How to convert below curl command in to php formate?

I want to convert this terminal command into php curl format, or http post can you please help? curl -i -k -3 -X PATCH "http://localhost:8080/api/v2/db/_table/todo/1" \ -H "X-DreamFactory-Api-Key: " \ -H…
Kamran Sohail
  • 602
  • 7
  • 13
2
votes
1 answer

How to integrate React Native with Dreamfactory REST API?

I am making a React Native app that must fetch data from an SQL Server. I'll be doing many complicated joins and other SQL functions so I figured DreamFactory would be easier to use in this way. DreamFactory is a RESI API automation platform for SQL…
1
vote
2 answers

"500 Failed to retrieve records" error using PostgreSQL service with DreamFactory

I've configured the service, app, and roles for my endpoint. I can successfully run API calls from the DreamFactory API Docs on /schema, /function, /table - basically all the single nodes that don't have a table name. When I do add a table name …
akaHeimdall
  • 949
  • 3
  • 10
  • 29
1
vote
1 answer

Install Dreamfactory on Xampp

I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so. Purpose: To generate REST API in php with mysql. What I have tried: Initially I installed windows version of Dreamfactory from official site. It was…
Observer
  • 345
  • 1
  • 4
  • 21
1
vote
1 answer

DreamFactory how to disable wrapper "resource" in docker container

I'm using DreamFactory REST API in a Docker container and I need to disable wrapper "resource" in payload. How can I achieve this? I have replaced the following in all of these four…
Luca Folin
  • 101
  • 1
  • 8
1
vote
0 answers

Handlebars "Unknown template object: object" when running server-side

I want to use Handlebars to add content to emails before they get sent, all of this happening on the server. We are using Dreamfactory and we can run scripts in Javascript to pre/post-process requests coming from the client (example:…
Aurelien Giraud
  • 128
  • 2
  • 12
1
vote
0 answers

In Angular, how can a prefix be added to all routes at startup or 'ignored'?

Background: I would like all routes to be added a prefix by a service fired at startup. The app is to access information about some events e.g. AngularCodeWeek2015, NodeJSRetreat2017, ... so the URLs should be of the format…
Aurelien Giraud
  • 128
  • 2
  • 12
1
vote
1 answer

PDO Exception in dreamfactory

Dreamfactory throws the following error when trying to access the services. After clearing the cache sometimes it works and after few minutes the same bug occurs. It does not allow to create new services. **[2017-10-31 12:47:13] local.ERROR:…
Shaju Nr
  • 338
  • 3
  • 18
1
vote
1 answer

Get a PDF file from a download Link in Dreamfactory with PHP?

I am in a situation where I have to upload a PDF file through an API, all of the examples that I have encountered point towards a specified file location, where uploaded through a form or in a specified location on a computer/server. The issues…
1
vote
1 answer

How to apply role to user in Dreamfactory?

Making first steps with Dreamfactory and followed the tutorial I am not finding, how could I apply role to the user, when I want user to access some service (and not…
w.k
  • 8,218
  • 4
  • 32
  • 55
1
vote
2 answers

How to show an image from a database with HTML+JS?

I am making a dog shelter app, so I saved all the images URL in the database. So far, this is what I have: What I want is instead of showing this P I want to show the dog's photo. My code: index.html
Eduarda Buss
  • 87
  • 1
  • 1
  • 15
1
vote
1 answer

How to post a binary file to the Files Service of the Dreamfactory API

In Dreamfactory (v2.4.2), I'm posting (via multipart/form-data) to a service/_table/{tablename} to create a record in a table. Using PHP, I then use the ID of that record returned as a folder name for file storage. I'd like to have the…
ShaunOle
  • 21
  • 4
1
2 3 4 5