API Parameter spaces url

I have 2 vm’s running i’m trying to populate the variable in the url

It works fine when i start the vm with no spaces in the name
http://localhost:5000/start-vm-id/Kali

Butt when there is a space in the name it wont start that VM
http://localhost:5000/start-vm-id/W10-VM Test

I’m using postman for testing my API calls, also tried a + and %20 as a space butt it wont start the VM.

It’s probably something really simple…

It looks like %20 is making it into the variable. If you replace it with a space, you should get what you expect.

I will normalize the url string in the next release, so ppl don’t have to do that

Thanks for the fast response guys! really like this community