Special characters failing API call

Certified Associate Developer

Hello All,

I have build an application where the data entered by users are getting stored inside mssql table. To accomplish this functionality we have used API call, It works fine when the entered values are normal text but if user enters huge number of special characters then the api call is failing. We have third party application to launch api calls manually, When we launch the API with same data from that application, It works fine. Can someone please suggest me a better method to get rid of this issue? 

 

example string: "{}|[]\\%3b':\",.//.,<>?~/*-+!@#$%^&*()_+"

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Associate Developer
    in reply to aloks0189
    Hi Alok,

    I'm using Json data to API using request x3 node. Also we have users from multiple countries hence we can't restrict them for any specific special characters because symbol or languages used in different country is totally dependent on the alphabet they use. eg. China (They are using keyboard specific to their language, Hence we can't restrict them to use those)