Insert_evenement function communicate with NodeJS server