This is by design. The argument to Query is the name of the argument. Arguments whose name is not in any attribute such as Query, Json or FormData are parsed as path fragments. This is to allow you to do things like:

1
| [<EndPoint "GET /storebrowse"; Query("genre")>] StoreBrowse of genre: string * page: int

This parses URLs such as /storebrowse/12?genre=xyz.

By on 9/17/2015 1:29 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper