I'm currently trying to pass values using an AJAX request to a server side end point. Everything works fine until I try to pass a decimal value in the url. I understand that the . character is a reserved character in the url and am wondering how I can pass a decimal value in my AJAX request.
My current endpoint is something like this; /domain/some-url/?value1=5&value2=2.3 The above url results in a 404.
If I change value2 to a whole number or a string it works file. Example would be /domain/some-url/?value1=5&value2=2 I get a successful response from the above URL.
Is there a standard way of deal with this situation?