SC : Create a custom body object as respone

Hello,

I’m trying to create a server connect that returns an object to be used in my page.
The object will be something like:
{ role: “admin”,
id: 1
}

I get the values from different database actions.

In the Response Action I only can set a Text, should I put the object on the text ?
Should I write it in plain json ? Or Js ? Or is there a way to do it in the wappler sc editor ?

Does the object schema will be available in the app connect side ?

Thanks,

Matthias

Community Page
Last updated: