Re:Get information about any country via a RESTful API
by smizell on Thursday October 31, 2013 @10:05AM
(#6646826)
Neither is more or less RESTful than the other. The media type and link relations express to the client what resource is being returned, not the URL itself.
GET:
http://restcountries.eu/rest/alpha/ee would be http://restcountries.eu/countries?alpha=ee
http://restcountries.eu/rest/name/norge would be http://restcountries.eu/countries?name=norge
That seems right, right?