From: Vasudevan C. <vco...@gm...> - 2017-01-06 15:48:13
|
Hi Ronald, Thanks for the reply. I am copying below the request body as expected by the server. *Example request body* --boundary_string Content-Disposition: form-data; name="entity_content"; Content-Type: application/json { "ContentDocumentId" : <nullvalue> , "ReasonForChange" : "New Profile created from SixthSense", "PathOnClient" : "<file name with extension>" } --boundary_string Content-Type: application/octet-stream Content-Disposition: form-data; name="VersionData"; filename="<file name with extension>" <Binary data goes here.> --boundary_string-- Is the above request body construction is achievable through HTMLUnit? Regards Vasu On 6 January 2017 at 21:37, Ronald Brill <rb...@rb...> wrote: > Hi Vasu, > > i'm not talking about many input items. > > There is an option to switch an file input into multi file mode - the > 'multiple' attribute. > > > > <input name="filesToUpload[]" id="filesToUpload" type="file" > multiple="" /> > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |