/apis/v1.0/customers/11111/addresses/Address##3 that corresponds to
address-key gets mapped to later a body-param for which i am using the extract and then assign message policy as follows.
**/addresses/{address-key}
request
editAddress
Assign Message:
{editAddress.address-key}
I am facing an issue while retreiving the {address-key} param if it contains #. E.g Value such as Address#3 are truncated and read as Address only.
I tried to pass
{address-key} value as Address%233 but it gets interpreted as below before hitting the target url (% gets decoded as %25)
addressId=Address%25233
But this doesn’t work for us so we need some way to pass original value of Address#3. We are using
application/x-www-form-urlencoded while passing the body but since of Address#3 is in URI template it is truncated. Any suggestion how to pass original value of Address#3.
Hey @Aakash Sharma - Great to know it worked out for you. Would you please accept the answer by clicking the link and close it ? This way it would help others community member too.