parse request & use sqlite3