a handy http request capture into mongo endpoint