Custom Header & UTF 8 support

We want to override existing request header which is sent by client & set custom header as below before invoking the back-end service as follows.

Custom Header Name:

X-custom-Authentication

Custom Header Value:

<Cred><Username>abc@test.com</Username><Password>xyzz</Password><Key>samplekey</Key></Cred>

It should send as below with in headers.

X-custom-Authentication:<Cred><Username>abc@test.com</Username><Password>xyzz</Password><Key>samplekey</Key></Cred>

How can we use Assign Message? Please suggest.

Is there a way to handle special characters meaning if a client sends payload with special characters eg: + symbol for a phone number as below

&From=+14086374948 &To=+16239996656

is there a way to handle special chars/ UTF-8 support to convert to as below before sending it to backend service.

&From=%2B14086374948&To=%2B16239996656

-Vinay

0 1 168
1 REPLY 1

Format didn't show up..It should be as below for value

Custom Header Value:

<Cred ><Username>abc@test.com </Username><Password>test</Password><Key>testkey</Key></Cred>