[dba-VB] URL syntax for a webservice

Gustav Brock gustav at cactus.dk
Tue Dec 16 05:41:26 CST 2014


Hi all

I found out to search for "URL" and  "syntax" and that quickly revealed that the last is correct.

/gustav

-----Oprindelig meddelelse-----
Fra: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] På vegne af Gustav Brock
Sendt: 15. december 2014 19:30
Til: Discussion concerning Visual Basic and related programming issues. (dba-vb at databaseadvisors.com)
Emne: [dba-VB] URL syntax for a webservice

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