Special characters need any sanitization, before they get sent to their service

Options

Hi there,

We are integrating with your World-Check One API, and have come upon an issue, where if an entity has special characters (for example Luiz Inácio Lula da Silva), we are getting the following:

Unable to get search results for: Luiz Inácio Lula da Silvaorg.springframework.web.client.HttpClientErrorException: 400 Bad Request

The funny thing is, when I run the exact same entity using your Postman project, I'm managing to get results.

Our questions: Do Special characters need any sanitization before they get sent to your service, or does your service check for special characters then convert them to English counterpart.

Thanks

Derek

Best Answer

  • rakesh.dev
    rakesh.dev LSEG
    Answer ✓

    Hi @dereka,

    There are no sensitization required to send special characters.

    If you are able to post request in postman then please check if you are using "utf-8" encoding when you are building the request in your application.

    Hope this helps

    Rakesh