How to update(append) a CSV file from the website?

Tags: #<Tag:0x00007f704118f340>

Hi, I want to have a database in a website. The database is a csv/exel file. The idea is that a user can enter stuff in a input field and the data gets added to the csv file.

Is it possible?

I guess it can be done with this?:

(You need to convert to JSON, though.)