I’m trying to use Dreamfactory for my APIs so I don’t have to add every single CRUDS whenever I add a schema.
So far it doesn’t look like there’s a way to import an Open API spec (several other low-code platforms support this.)
And it looks like to use the server connect within the form, I have to create an API anyways.
I created an API for login and a POST wrapper. In the post API file, I’m just passing in the service name, and object name which points to a dreamfactory login service. (I created a test form and tested this service with it, so that’s not the problem):
Then I created a login API where I construct the JSON value into a variable and then sent it into the service
When I call the post_df API from the login API, I’m getting a connection refused error:
“message”: “connect ECONNREFUSED 127.0.0.1:8100”,
“stack”: “Error: connect ECONNREFUSED 127.0.0.1:8100\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)”
There’s no security set on either of these endpoints. Any reason why you can’t call one API action from another?