In the query string. Default to one format - preferably JSON - and have the option to request xml by setting `?format=xml`. Example https://secure.flickr.com/services/api/response.json.html