Home Applications upload-adapter

upload-adapter

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
240
Views
0
IPM installs
2
1
Details
Releases
Reviews
Issues
Pull requests
Articles
Intersystems IRIS interoperability Custom Upload Adapter to multipart file requests

What's new in this version

Community article link

InterSystems IRIS Interoperability Upload Service

This is an InterSystems IRIS Interoperability Upload Service to send files to the server using a multipart request from form or http request.

What The the service does

This application receive a http multipart request with a file and saves to disk

Prerequisites

Make sure you have git and Docker desktop installed.

Installation: ZPM

Open IRIS Namespace with Interoperability Enabled.
Open Terminal and call:
USER>zpm “install upload-service”

Installation: Docker

Clone/git pull the repo into any local directory

$ git clone https://github.com/yurimarx/upload-adapter.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

How to Run the Sample

  1. Open the production

  2. Set host destination folder to the uploaded files. See:

folder
  1. Start the production.

  2. Now Open Postman or create a multipart request into a form pointing to localhost:9980/ using POST with a form-data file attribute. See sample:

postman
Made with
Version
1.0.210 Nov, 2020
Category
Technology Example
Works with
EnsembleInterSystems IRISInterSystems IRIS for Health
First published
10 Nov, 2020
Last checked by moderator
27 Jun, 2023Works