HttpFileUploadValve
Valve to upload of files using form-data (multipart). Primary use is sending signed pdf to SWF.
The content of the item property to upload should be base64 encoded.
Properties
Example Configuration
{ "name": "HttpFileUploadValve", "enabled": "true", "config": { "url": "http://swfserver:8081/api/document_signing/orders/{{item.orderId}}/document", "content": "{{item.document}}" } }
In the example above {{item.orderId}} will be extracted from the request.
Requirements
The content of the item property to upload should be base64 encoded.