I have a spider and I’m testing out a few things.
One of them is that I’d like to be able to upload a file to my local webserver from the spider.
For example, say I have an image on my SD card (small enough to fit into Spider RAM) and I want to upload it, are there any code snippets etc. to show how to do this?
I know that there is a WebClient class but it looks like you can only make GET requests for URLs using this, is there any way to upload data? I’m assuming you’d open some sort of stream and send it over somehow but I can’t see how.
Thanks for your time.