rest photo upload -> mime_type invalid
snowcrack
Joined: 2011-11-13
Posts: 3 |
Posted: Sun, 2011-11-13 19:57 |
hi, i have a problem with uploading a image over the rest interface. I always get {"mime_type":"invalid"} back. My http post looks like this: POST /gallery3/index.php/rest/item/1 HTTP/1.1 ----------FormData0.9224686087109149 {"name":"imgTestName1.jpg","type":"photo"} ÔøΩÔøΩÔøΩÔøΩJFIFHHÔøΩÔøΩAppleMark 2!!22222222222222222222222222222222222222222222222222ÔøΩÔøΩdd!ÔøΩÔøΩÔøΩÔøΩG !1AQaÔøΩ"236qrÔøΩÔøΩÔøΩ.................... Need some help... Thanks, |
|