Closed LaurentGoderre closed 9 years ago
In the document, the format is defined either by the HTTP accept headers or through URL parameter. This means that requests would not have any extensions.
accept
The example should be modified to use querystring
http://example.gc.ca/api/collection/value_one/value_two/list?format=json
I do clean urls through apache redirects but it makes more sense to do as you suggest. In and done.
In the document, the format is defined either by the HTTP
accept
headers or through URL parameter. This means that requests would not have any extensions.The example should be modified to use querystring