Re: Taverna 2.54 Server POST Request HTTP Error 415

2018-04-17 Thread Stian Soiland-Reyes
Thanks, Vimig, good to know. :) On 10 April 2018 at 12:41, Vimig Socrates wrote: > I think being able to post the objects as a t2flow object or JSON are more > than enough. I don't see much benefit in making them form-data. > > -- > Vimig Socrates > Case Western Reserve University Class of 2018

Re: Taverna 2.54 Server POST Request HTTP Error 415

2018-04-10 Thread Vimig Socrates
I think being able to post the objects as a t2flow object or JSON are more than enough. I don't see much benefit in making them form-data. -- Vimig Socrates Case Western Reserve University Class of 2018 On Tue, Apr 10, 2018 at 4:21 AM, Stian Soiland-Reyes wrote: > Great! I checked > https://ta

Re: Taverna 2.54 Server POST Request HTTP Error 415

2018-04-10 Thread Stian Soiland-Reyes
Great! I checked https://taverna.incubator.apache.org/documentation/server/3.1/usage and none of the Server API calls currently support form-data, only JSON or XML (as well as the t2flow upload). Do you think support for form-data would be beneficial for Taverna Server or do the current options s

Re: Taverna 2.54 Server POST Request HTTP Error 415

2018-04-09 Thread Vimig Socrates
Thank you. That basically worked. I had to post as a binary object as opposed to form-data. -- Vimig Socrates Case Western Reserve University Class of 2018 On Mon, Apr 9, 2018 at 10:33 AM, Stian Soiland-Reyes wrote: > Hi, > > POSTing with Content-Type application/vnd.taverna.t2flow+xml is indee

Re: Taverna 2.54 Server POST Request HTTP Error 415

2018-04-09 Thread Stian Soiland-Reyes
Hi, POSTing with Content-Type application/vnd.taverna.t2flow+xml is indeed the recommended way to upload the t2flow workflow. Could you try to remove the second Content-Type header of multipart/form-data inserted by Postman? That is probably breaking it. On 6 April 2018 at 00:11, Vimig Socrat