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
- 69 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 108 Rules
- 266 Administration
- 212 Portal
- 495 General Q & A
- 704 Forms
- 335 Reports
- 3 Designer Extensions
- 47 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 181 Datastructures
- 69 Repository
- 227 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 112 Lunch And Learn Questions