How to Upload File via Form & Send to REST API Using Base64
Comments
-
To upload a file using the 'Upload File' control in a form and send it to a REST API service by encoding it in Base64, please follow these steps:
- Upload File Control: Use the 'Upload File' control in your form to allow users to upload files. This control captures the file data that needs processing.
- Base64 Encoding: Use the 'Base64 Encode' step to convert the uploaded file data into a Base64 string.
- REST API Integration:
- Navigate to 'External Services' under 'Data Types' in Decisions.
- Select 'Add REST Service' and provide the service name and base URL.
- Configure any required authentication.
- Send to REST API: Use the 'POST With Credentials' step to send the Base64 encoded string to the REST API. This step allows you to include the encoded file data in the request body and authenticate as needed.
Howdy, Stranger!
Categories
- 4.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 267 Administration
- 212 Portal
- 496 General Q & A
- 706 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions