I'm testing a simple Postman POST
. I have an URL, POST
; and I attach a file using "binary" under "Body" section. This is the only option (under Body) that allows me to simply browse a file and attach it to the request.
Without header:
415 Unsuported Media Type
When adding the header:
500 org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
In contrast, with curl, it works like a charm:
```bash
$ curl -sS -u llagos:*** -F "file=@i.png" -X POST http://osbdev/rest/api/2/issue/DVMG-1/attachments
What am I doing wrong; it's always me :(
Thanks a bunch!