How can I send/save information from custom form to another WIX website database?

Dear friends,

I have a few websites on WIX, I have made on CRM website to collect and manage all leads from all other websites.

The challenging is to save information on 2 databases when someone fill ins the form. The first of course on the same website and second on another website database.

As I know there are few solutions. Can you please help with the code?

Here are the websites with data visualisation and form:

N1 website with the form and repeater
https://amiranazaladze.wixsite.com/my-site-1 8
elements
#inputName
#inputSurname
#buttonSave
#database1write
#database1read
#repeater1

N2 website with repeater
https://amiranazaladze.wixsite.com/my-site-19

elements
#database22read
#repeater1

On the sender website you can use fetch to POST the info as json to the receiver website.
On the receiver website have an http-function (post) that gets the json, parses it and inserts it to the collection: