I'm considering what base URL to use for a REST web service. I have the option of using one of the following formats:
I'd like to make it both easy to use from client-side javascript apps and secure against forged request attacks. Is there a best practice to follow here?