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:
An overview/example for use is found in the section, Call external HTTP(s) rest apis
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)
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:
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