1. Create a new context variable:
- Name: Provide your desired name, i.e: Payload
- Data Type: Message
- Content-Type: Change to the desired content type
- Expression: Change this to your desired request body
For example, if you want to post a username and password to the endpoint
- Name: Payload
- Data Type: Message
- Content-Type: application/x-www-form-urlencoded
- Expression: username=joe&password=7layer
2. Add a 'Route via HTTP(s)' assertion to the policy. This must appear somewhere below the context variable created above
3. Open the properties dialog for the route assertion
4. On the main screen enter your desired URL
5. For the 'Request Source' field select the message variable we created above
6. Save and activate the policy