clj-http and boundary in the POST request

2012-04-03 Thread Jimmy
Hi all, The REST endpoint I need to call requires multiple boundaries in the POST request. Does any one know how to do this in clj-http? Lets say my header had the following boundary Content-Typemultipart/form-data; boundary=the_message_boundary How could i create a body with multiple

Re: clj-http and boundary in the POST request

2012-04-03 Thread Lee Hinman
On Apr 3, 12:55 am, Jimmy jimmy.co...@gmail.com wrote: Hi all, The REST endpoint I need to call requires multiple boundaries in the POST request.  Does any one know how to do this in clj-http?  Lets say my header had the following boundary Content-Type    multipart/form-data;

Re: clj-http and boundary in the POST request

2012-04-03 Thread Jimmy
Hi Lee, Thanks for the suggestion, will try that approach. regards, Jimmy On Tuesday, April 3, 2012 4:30:10 PM UTC+1, Lee Hinman wrote: On Apr 3, 12:55 am, Jimmy jimmy.co...@gmail.com wrote: Hi all, The REST endpoint I need to call requires multiple boundaries in the POST request.