HTTP Post multipart Request

HTTP Post multipart Request

In InterFormNG2 it is possible to call (most) external HTTP REST APIs / Webservices and form submits using workflow components.

The calls are based on RFC2616 Hypertext Transfer Protocol HTTP/1.1 https://www.ietf.org/rfc/rfc2616.txt

The external HTTP calls can be used to interact with third party software which supports REST API calls, including an almost unlimited number of Open REST APIs or automatization of form submits to a website.

This section covers the HTTP Post multipart Request, but these HTTP components are available:

HTTP Get Request

HTTP Post body only Request

HTTP Post multipart Request

HTTP Post request

 

An overview/example for use is found in the section, Call external HTTP(s) rest apis

 

Common for all components

All components can convert a returned JSON document to XML for futher processing in NG2. The returned documents are added as the payload in the workflow and the following workflow variable is set: interformng.httpReturnCode=### where ### is the HTTP return code (200=OK, 403=Access denied etc)

 

Prerequisites

Basic knowledge on how the HTTP protocol works.

 

This request is mostly used for uploading a file to a web-service. This is a POST, but the content is encoded as a multipart body.

 

The HTTP Post multipart Request has these parameters:

 

NG2HTTPPostMultiPart0001

 

Most of the parameters are described in this section.

This request also has a file part description with the two fields:


File Part Name

This is the file part parameter name

 

File Part Filename

This is the filename of the file part


    • Related Articles

    • HTTP Post request

      In InterFormNG2 it is possible to call (most) external HTTP REST APIs / Webservices and form submits using workflow components. The calls are based on RFC2616 Hypertext Transfer Protocol HTTP/1.1 https://www.ietf.org/rfc/rfc2616.txt The external HTTP ...
    • HTTP Post body only Request

      In InterFormNG2 it is possible to call (most) external HTTP REST APIs / Webservices and form submits using workflow components. The calls are based on RFC2616 Hypertext Transfer Protocol HTTP/1.1 https://www.ietf.org/rfc/rfc2616.txt The external HTTP ...
    • HTTP GET Request component

      In InterFormNG2 it is possible to call (most) external HTTP REST APIs / Webservices and form submits using workflow components. The calls are based on RFC2616 Hypertext Transfer Protocol HTTP/1.1 https://www.ietf.org/rfc/rfc2616.txt The external HTTP ...
    • Swagger HTTP workflow component

      The advanced, utilities workflow component, Swagger HTTP can load a Swagger JSON definition can be loaded and a request from the API can be selected. An HTTP component is then generated with URL, output type, parameter names and header names ...
    • Call external HTTP(s) rest apis

      Calling external HTTP(s) rest api's In InterFormNG2 it is possible to call (most) external HTTP REST APIs / Webservices and form submits using workflow components. The calls are based on RFC2616 Hypertext Transfer Protocol HTTP/1.1 ...