I want to implement a telemetry data sender into my electron app. The API which I want to connect to is public. So any crash reports or any other data from the user is sent to it. The problem is how do I secure the API to prevent spam reports?
For example VS Code is collecting telemetry data from the user and it's sending those data to a collecting REST API. How does Microsoft prevent spam reports?
The structure is the following
Electron App -> User Data -> (How to prevent spam?) API Server -> Database