REST Fileupload

Hi all

How can I accept file uploads through a REST webservice?

I've got a .NET client tool, which uploads the files the following way:
client.UploadData(url, "POST", imageBytes)

Thank you for your help!

this should work as is with normal scaffold as long as the form enctype is changes to multipart

Yes, but where I know the variable-name of the file? The .NET-Client
uses the following comment:

responseBytes = client.UploadData(url, "POST", imageBytes)