Using this template helps us debug your issues more effectively
Description
We are getting junk characters(???) for Japanese language when POSTing on closed caption 3rd party API for a meeting using code.
Which Endpoint/s?
3rd party Closed caption service
How To Reproduce (If applicable)
Steps to reproduce the behavior:
- Copy the caption url from the zoom meeting.
- Post message from the API in a meeting using java code.
Below is the code snippet used:
RestTemplate restTemplate = new RestTemplate();
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.TEXT_PLAIN);
headers.setAcceptCharset(Arrays.asList(Charset.forName(“UTF-8”)));
HttpEntity entity = new HttpEntity<>(message, headers);
LOGGER.info(“Posting on Zoom → {}” ,url);
ResponseEntity response = restTemplate.exchange(ccUrl, HttpMethod.POST, entity,
String.class);
Can you please suggest on this.