REST API -Input issues

Hello Experts, I have consumed REST API (Consume a REST Service | Mendix Documentation) successfully. But I am facing an issue where I can only able to add inputs without space, if there is a space I am getting an error.   End point url :{Input}   Example : Input 1 – SampleTest (without space) Input 2 – Sample Test (with space – getting error)   Answers are really much appreciated!
1 answers

Try replacing spaces with %20 or an underscore. You could maybe also urlencode your input first.