Forward an End User's Message to Your Platform

You can use the HTTP Poke handler to forward an end user's message to your own platform.

First, choose whether you want to forward on the entire message, or just part of the message. There are a variety of built-in variables that can retrieve the message for you; for example, session.initialMessage.strippedMessage. If you only want to send part of a message, you would need to use a regular expression.

Next, use the HTTP Poke handler to send the message on. For example, the URL sent to the external platform would need to include a custom parameter like "smstext" (defined by you for your platform) and an expression as its value:

http://www.example.com/mxpoke.cgi?smstext=${session.initialMessage.strippedMessage}

MEP resolves the value of the expression before sending it to your platform.