Saving data to pavlovia using js/html

I have an experiment that runs locally in vanilla js/html and I have managed to get it running on pavlovia. How do i save data to the pavlovia server? JSON, csv anything.

I have a hard deadline for the lab I’m working at. Please help!