Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Fayder Florez committed Mar 5, 2017
1 parent 1984221 commit 377a851
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,19 @@ https://restcountries.eu/rest/v2/name/afghanistan
}]
}]
```

Filter Response
=======

You can filter the output of your request to include only the specified fields.

``` javascript
https://restcountries.eu/rest/v2/{service}?fields={field};{field};{field}
```
``` html
https://restcountries.eu/rest/v2/all?fields=name;capital;currencies
```

Sources
=======
* [@mledoze]
Expand Down

0 comments on commit 377a851

Please sign in to comment.