Jim Lawrence
accessd at shaw.ca
Tue Dec 16 20:21:43 CST 2014
or not...
The first part is the actual address:
ie. http://someapi.org/api
...and the second part, preceded with a "?" are the list of parameters, each parced by a "&" being passed to the following page:
ie. ?key=122696&country=dk
Note: some say the the trailing slash "/" should be added address, for security purposed but there is no agreement on this.
Jim
----- Original Message -----
From: "Gustav Brock" <gustav at cactus.dk>
To: "Discussion concerning Visual Basic and related programming issues. (dba-vb at databaseadvisors.com)" <dba-vb at databaseadvisors.com>
Sent: Monday, December 15, 2014 10:29:48 AM
Subject: [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
_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com