Q:

Passing double/float through URL to Web Api query string

I got a Web Api project, and I want to call a api controller through this URL:
Http://localhost:3030/GetByCoordinates/[[0,1],[1,1],[1,0],[0,0]]

It works fine, but when I try to add a double number (like 1.1 instead of 1) the browser throws 404 not found exception, because the dot make it look like another address.
How can i handle doubles ?

A:

Try adding '/' at the end of the URL, e.g. 
Http://localhost:3030/GetByCoordinates/[[0,1],[1,1.1],[1,0],[0,0]]/

Reference: Why is my Web API method with double args not getting called?

