The silverpop "REST" API requires a pipe symbol: "|" in the URL. eg:
https://api6.ibmmarketingcloud.com/rest/databases/xxx/establishidentity/PUSH-xxx/xxxx|yyyy
When we use our code, it repaces the | with "%7C"
This is the code:
String url = baseURL + key + "/" + id + "|" + channel;
WebTarget webTarget = theHttpClient.target(url);
Invocation.Builder invocationBuilder = webTarget.request(MediaType.APPLICATION_JSON)
.header(HttpUtils.AUTHORISATION_HEADER_NAME, "Bearer " + theAccessToken);
response = invocationBuilder.method(method.getName(), Entity.json(theObjectMapper.writeValueAsString(payload)), response.class);
Is there a handy way to stop the conversion of | into %7C?