Skip to content

Instantly share code, notes, and snippets.

@darrelmiller
Created January 1, 2015 21:24
Show Gist options
  • Save darrelmiller/fa84992c3b0867eab909 to your computer and use it in GitHub Desktop.
Save darrelmiller/fa84992c3b0867eab909 to your computer and use it in GitHub Desktop.
I can get this...
--6151f84b-b24a-41e0-a0ef-31398ab1d44f
Content-Disposition: form-data; name="files[image]"
--6151f84b-b24a-41e0-a0ef-31398ab1d44f--
With this,
var form = new MultipartFormDataContent();
form.Add(new StreamContent(new MemoryStream()), "files[image]");
Does that work for you?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment