Skip to content

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.

Community

Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments