taverna-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vimig Socrates <vsocra...@case.edu>
Subject Taverna 2.54 Server POST Request HTTP Error 415
Date Thu, 05 Apr 2018 23:11:04 GMT
Hi everyone!

I just started using Taverna and have Taverna 2.54 Server setup on an
Ubuntu 16.04 VM but I don't understand how to post a workflow to it. I am
using the old t2flow format, but I get a 415 Unsupported Media Type server
error when I POST with the file attached using Postman HTTP Client.

Am I missing a setting?

Here is the cURL code snippet produced by Postman.

curl -X POST \
  http://pqhs-vimig.case.edu:8080/tavernaserver/rest/runs \
  -H 'Authorization: Basic dGF2ZXJuYTp0YXZlcm5h' \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/vnd.taverna.t2flow+xml' \
  -H 'Postman-Token: 80a0ed49-e86e-5d2b-14cc-1530c5f9e5fd' \
  -H 'content-type: multipart/form-data;
boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
  -F =@/.../conversion_workflow.t2flow

Please let me know! Thanks!

Vimig Socrates

View raw message