The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp dev-proxy Command¶

Syntax:

mdsp dev-proxy

Help:

mdsp dev-proxy --help

Alternative form:

mc dev-proxy

(The CLI was using mc as default command name in older versions)

Description¶

starts Insights Hub development proxy & (optional passkey) *

Usage¶

Parameter list:

Usage: mdsp dev-proxy|px [options]

starts Insights Hub development proxy & (optional passkey) *

Options:
 -m, --mode [credentials|session] service/app credentials authentication of session authentication (default: "session")
 -o, --port port for web server (default: "7707")
 -r, --norewrite don't rewrite hal+json urls
 -w, --nowarn don't warn for missing headers
 -d, --dontkeepalive don't keep the session alive
 -v, --verbose verbose output
 -s, --session borrowed SESSION cookie from brower
 -x, --xsrftoken borrowed XSRF-TOKEN cookie from browser
 -h, --host the address where SESSION and XSRF-TOKEN have been borrowed from
 -t, --timeout keep alive timeout in seconds (default: "60")
 -k, --passkey passkey
 --help display help for command

Examples¶

Here are some examples of how to use the mdsp dev-proxy command:

 Examples:

 mdsp dev-proxy runs on default port (7707) using cookies
 mdsp dev-proxy --mode credentials --port 7777 --passkey $MDSP_PASSKEY 
 runs on port 7777 using app/service credentials

 Configuration:

 - create environment variables: MDSP_HOST, MDSP_SESSION and MDSP_XSRF_TOKEN using borrowed cookies 

See Insights Hub API documentation for more information about Insights Hub APIs.