Traccar Server Other System Integration

Kelvin Murithi5 years ago

Am trying to send a post request to another server after an event occurs on traccar. I want to filter only the SOS event. My API call is currently on the handleCustomEvent method on the AysncSocket.class. At this point am getting all types of events. What's the best place to place my API call where I can narrow down the event to a sos? Thank you