Can anyone help me figure out the best way to return a JSON object from a plugin server-side action? I currently do an HTTP GET request that returns a list of JSON objects with varying keys and values.
I’d like multiple JSON objects and their keys and values to be selectable in the workflow action results the same as when you do an API Call action.
The best solution I’ve found is this post, however, it seems convoluted having multiple workflow steps and a separate App Type input field just to output the object.
I have reached out to Bubble Support but they were unable to help and recommended I post on the forum.
The only solution is to create the faux API call to define the API object. Once you define the API object, you can then use it within your plugin. If this is a plugin just for your application that can work, it’s not a great solution if you plan to distribute it as everyone of your users would have to manually define the API in their application.
This is in my opinion (and others) one of the most limiting factors of Bubble extensibility and it doesn’t appear to be on the roadmap to be fixed anytime soon.
I continue whit the same question. Why a ssa? API connector perform call server side (except if you select perform on client side if possible). My opinion is to instead of creating complex process like the fake API and transform the payload to fit in the API result expected by Bubble, its easier yo use API connector directly. In some case, you might think you cannot use it, but honestly, I have created a lot of API connection and only one really needed to be created in full using SSA. So if you can explain more your use case, we can probably provide you with a better solutions. But if you really want to continue that way, the post mentionned are the only way yo do that