Home Products upload-adapter

upload-adapter

5
1 reviews
216
Views
0
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
Read more
Made with
Version
1.0.210 Nov, 2020
Category
Technology Example
Works with
EnsembleInterSystems IRISInterSystems IRIS for Health
First published
10 Nov, 2020