Here I feel we need some explaining:-k: The default SSL certificate on the MQWEB server is self-signed. This option ignores that-X POST: Use POST for putting messages onto MQ-d: This is the data (string) that eventually will land on the queue-u: The OS user and password (part of the mqm group in this example)-H: The “ibm-mq-rest-csrf-token” needs to exist as a header but can contain anything, can even be completely blank-H: We need to set a content type for the payload (from the -d option above). Valid content types include:

NOTE: if omitting the charset, utf-8 is assumedURL: Default URL and port: host:9443/ibmmq/rest/v1/. On top of this we add the default URL for handling messages on queues: /messaging/qmgr/<queue manager name>/queue/<queue name>/message