Modeling Guide

HTTP Server

The HTTP Server operator starts an HTTP server on a configurable port. It handles GET and POST requests received from a configurable handler path.

Configuration Parameters

Parameter

Type

Description

port

int

The port of the HTTP server.

Default: 7070

handlerPath

string

The handle to be used for serving HTTP requests.

Default: "/"

Input

Input

Type

Description

in

blob

JSON-formatted data given to this port is collected by the server and sent as a response to a GET request.

Output

Output

Type

Description

out

blob

This port is given the JSON-formatted body of all POST requests received by the server.