a simple way to use network request.