Timeline for How do you submit an Input type of "file" using URLExecute?
Current License: CC BY-SA 3.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:35 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
S Oct 29, 2015 at 18:36 | history | bounty ended | C. E.♦ | ||
S Oct 29, 2015 at 18:36 | history | notice removed | C. E.♦ | ||
S Oct 25, 2015 at 11:36 | history | bounty started | C. E.♦ | ||
S Oct 25, 2015 at 11:36 | history | notice added | C. E.♦ | Reward existing answer | |
S Oct 25, 2015 at 6:19 | history | bounty ended | Simon O'Doherty | ||
S Oct 25, 2015 at 6:19 | history | notice removed | Simon O'Doherty | ||
Oct 25, 2015 at 6:19 | vote | accept | Simon O'Doherty | ||
Oct 24, 2015 at 21:18 | answer | added | Christopher Haydock | timeline score: 12 | |
Oct 22, 2015 at 17:22 | answer | added | C. E.♦ | timeline score: 4 | |
Oct 22, 2015 at 17:21 | history | edited | Simon O'Doherty | CC BY-SA 3.0 |
added 197 characters in body
|
Oct 22, 2015 at 10:42 | comment | added | Simon O'Doherty | That doesn't work either, although might be on the right track. I need to covert the data itself into a MIME format that can be transmitted I guess? | |
Oct 22, 2015 at 10:39 | comment | added | C. E.♦ |
@SimonO'Doherty What about {"jpgFile", "image/jpeg"} -> ExportString[jpg, "JPEG"] where jpg = Import["test.jpg", "JPEG"]; ?
|
|
Oct 22, 2015 at 5:56 | comment | added | Simon O'Doherty | Specifying text I instead of Jpeg image data does nothing either. | |
Oct 22, 2015 at 5:54 | comment | added | Simon O'Doherty |
You end up with: The value {{jpgFile,image/jpeg}->Image[RawArray[Byte,<56,75,3>],Byte,<<1>>,<<12>>->True,MetaInformation->{Exif->{ImageWidth->4288,ImageLength->2848,BitsPerSample->{<<3>>},Make->NIKON CORPORATION,<<43>>,FocalLengthIn35mmFilm->34,SceneCaptureType->0,GainControl->1,<<5>>}}]} specified for the option MultipartElements is invalid.
|
|
Oct 22, 2015 at 3:01 | comment | added | C. E.♦ |
The mime type of JPEG files is image/jpeg , not file . Try changing that.
|
|
Oct 21, 2015 at 5:39 | comment | added | Simon O'Doherty |
It should send a jpeg file via a POST to a REST service. I posted further code where sending a text file works. I've also tried sending a Import["test.jpg","JPEG"] but I get errors.
|
|
Oct 21, 2015 at 5:37 | history | edited | Simon O'Doherty | CC BY-SA 3.0 |
Updated to show a working example.
|
Oct 20, 2015 at 17:42 | history | tweeted | twitter.com/StackMma/status/656525804478844928 | ||
S Oct 20, 2015 at 14:39 | history | bounty started | Simon O'Doherty | ||
S Oct 20, 2015 at 14:39 | history | notice added | Simon O'Doherty | Draw attention | |
Oct 20, 2015 at 14:31 | history | edited | Simon O'Doherty | CC BY-SA 3.0 |
fixed missing line.
|
Oct 18, 2015 at 21:34 | comment | added | Simon O'Doherty | I already have working code. The HTML snippet is what I am trying to mimic in URLExecute. | |
Oct 18, 2015 at 13:01 | history | asked | Simon O'Doherty | CC BY-SA 3.0 |