Skip to main content

A sample of a multi-part request - Knowledgebase / Lasernet / Lasernet Developer FAQs - Formpipe Support Portal

A sample of a multi-part request

Authors list

This article will show a sample of a multipart request. Attached is a Lasernet 9 setup where we receive an XML file that creates two documents, a JSON file and a PDF. These are passed to the HTTP module.


There are some mandatory settings that need to be activated so Lasernet can carry out the multipart request:

Job Combining needs to be activated and configured on the HTTP module.

A Header named Content-Type with a value multipart subtype, for example, multipart/mixed.


A JobInfo named FileName.

The following  JobInfo are optional:

MimeType

HTTPFieldName

This can be controlled in Sheet Options, in the Pre JobInfos tab.
 

  



On our HTTP module, we are using a test site called webhook. site. If you want to test using this, go to http://webhook.site


This site will create a URL for you:


This site will display the result:



Helpful Unhelpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?

Share