How would do an INSERT with JSON data from an API all in a server action?

Hi All,

I have some data being returned in JSON from an API request.

I need to write this into my database before it can be displayed and used in the front-end.

High-level, how do I go about this in the server action?

I can’t seem to get it working as I’m naturally use to using form inputs all the time for inserting data

Community Page
Last updated: