I am trying to send a request with content-type multipart/mixed
and simply print the request in my controller with the line println params
However, I keep getting an error: the request was rejected because no multipart boundary was found
I'm not sure whether this is a problem in grails or my request is messed up. I am using RESTConsole and setting the content-type to multipart/mixed
and sending the following as RAW Body:
--boundary42
Content-Type: text/plain; charset=us-ascii
...plain text version of message goes here....
--boundary42
Content-Type: text/richtext
.... richtext version of same message goes here ...
--boundary42