adds stub_request for outside http call