Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding test content.

Signed-off-by: Sam Pullara <spullara@yahoo.com>
  • Loading branch information...
commit 22fbba502f7961f4105a886337b872f81e6febd0 1 parent ee701b8
@esjewett esjewett authored committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 tarpipe/tarpipe.transaction.xml
View
5 tarpipe/tarpipe.transaction.xml
@@ -87,6 +87,9 @@
response.object = local_request.post(content).response;
} else {
+
+ var content = "\r\n--AaB03x\r\nContent-Disposition: form-data; name=\"title\"\r\n\r\n"+"title test";
+ content += "\r\n--AaB03x\r\nContent-Disposition: form-data; name=\"body\"\r\n\r\n"+"body test"+"\r\n--AaB03x--\r\n";
message.action = request.path("start").path(workflow_id).url;
OAuth.SignatureMethod.sign(message, local_accessor);
@@ -102,7 +105,7 @@
}
}
- response.object = local_request.contentType("multipart/form-data; boundary=AaB03x").header("Content-Length",0).post().response;
+ response.object = local_request.contentType("multipart/form-data; boundary=AaB03x").header("Content-Length",content.length).post(content).response;
}
]]></execute>
</insert>
Please sign in to comment.
Something went wrong with that request. Please try again.