Update Network.yaml

In the first example, textData was never used, so I removed it. I also added a function showing how to handle an error, and added it to the http.request call.