Upload command question
So I didn't catch the magic. She sent an upload command and didn't have to do something like add a response command. So when she ran the upload comman, did azure process it and send it back? Confused...
Cameron Abell6,282 Points
You are somewhat correct. According to documentation, the UploadData() method returns a byte array containing the body of the response from the resource. In the video, she assigns this returned data to a byte array named "response" and then deserializes it, thus letting the program output it to the console.
Here is a link to the documentation for the WebClient.UploadData method: https://docs.microsoft.com/en-us/dotnet/api/system.net.webclient.uploaddata?view=netcore-3.1