[dba-VB] URL syntax for a webservice

Gustav Brock gustav at cactus.dk
Mon Dec 15 12:29:48 CST 2014


Hi all

What is the preferred syntax for this? A trailing slash or not after the path?
For example:

    http://someapi.org/api/?key=122696&country=dk

or:

    http://someapi.org/api?key=122696&country=dk

I think the first, but in various examples I've seen the last.

/gustav


More information about the dba-VB mailing list