Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Development URL

Deployed URL

Expected Response

Notes

http://localhost/ws/ref/country

http://www.avianknowledge.net/ws1.0/ref/country

entire list in CSV format

Generates 404

http://localhost/ws/ref/country/list

http://localhost/wswww.avianknowledge.net/ws1.0/ref/country/list

entire list in CSV format

"csv" is the default format.

http://localhost/ws/ref/country/list?format=xml

http://localhost/wswww.avianknowledge.net/ws1.0/ref/country/list?format=xml

entire list in XML format

 

http://localhost/ws/ref/country/list?format=csv

http://localhost/wswww.avianknowledge.net/ws1.0/ref/country/list?format=csv

entire list in CSV format

 

http://localhost/ws/ref/country/list?format=QQQ

http://localhost/wswww.avianknowledge.net/ws1.0/ref/country/list?format=QQQ

entire list in CSV format

Bad format value is ignored and defaulted to csv.

http://localhost/ws/ref/country/list?format=XML

http://localhost/wswww.avianknowledge.net/ws1.0/ref/country/list?format=XML

entire list in CSV format

"XML" is not a valid format option. Only "xml" and "csv" are valid options.

http://localhost/ws/ref/country/find?match=united

 

list of countries in CSV format

 

http://localhost/ws/ref/country/find?match=united&format=xml

 

XML list of countries

 

http://localhost/ws/ref/country/find?match=UNITED

 

list of countries in CSV format

There should be no difference in response for upper/lower case search strings.

http://localhost/ws/ref/country/list?format=

 

entire list in CSV format

Bad format value is ignored and defaulted to csv.

http://localhost/ws/ref/country/find?match=

 

empty list in CSV format

 

...