Add request metadata to the database.