Hi,
I need to store the JSON response that I get from an API server action as value of one of the fields in my DB table.
I tried setting the API’s JSON response in the insert/update database server action like {{api1.data}}, but its throwing an error.
I don’t see any option to convert the JSON response to string before saving it in DB either.
I have other use case where I store JSON value coming from client side UI in the DB, and that works fine because I stringify
that JSON before sending it to server action to store in DB.
But in this case I need to do everything in the server action itself.
Can this be done?
Community Page
Last updated:
Last updated: