parsing requests, storing captures in db