new endpoint
send data in separate thread