I've been tasked with making a RESTful api, pretty simple, just serving up a couple of tables. You should be able to lookup countries by either business or consumer, or get info by country or state, for example. The problem is, the syntax requires that an api call should look like:
<domain>/api/v1/Business.Country
or like
<domain>/api/v1/Consumer.Country/us
or
<domain>/api/v1/Consumer.Country/us/State
Is this even possible with that dot in there? This is on a LAMP platform, so I guess it could be done with some kind of fancy Rewrite, but I wonder how flexible that could be for future expansion of the api.