Skip to content

Commit 04f63cf

Browse files
authored
docs: updated tested uris (#82)
1 parent 3d6b56e commit 04f63cf

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,16 @@ The `InternetConnection` class uses the following `Uri`s by default:
211211

212212
The following `Uri`s are tested and work well with the package:
213213

214-
| URI | Description |
215-
| :-------------------------------------------------- | :--------------------------------------- |
216-
| `https://ipapi.co/ip` | CORS enabled, no-cache |
217-
| `https://api.adviceslip.com/advice` | CORS enabled, no-cache |
218-
| `https://api.bitbucket.org/2.0/repositories` | CORS enabled, no-cache |
219-
| `https://api.thecatapi.com/v1/images/search` | CORS enabled, no-cache |
220-
| `https://api.coindesk.com/v1/bpi/currentprice.json` | CORS enabled, no-cache |
221-
| `https://lenta.ru` | Russia supported, CORS enabled, no-cache |
222-
| `https://www.gazeta.ru` | Russia supported, CORS enabled, no-cache |
214+
| URI | Description |
215+
| :------------------------------------------- | :--------------------------------------- |
216+
| `https://ipapi.co/ip` | CORS enabled, no-cache |
217+
| `https://api.adviceslip.com/advice` | CORS enabled, no-cache |
218+
| `https://api.bitbucket.org/2.0/repositories` | CORS enabled, no-cache |
219+
| `https://api.thecatapi.com/v1/images/search` | CORS enabled, no-cache |
220+
| `https://randomuser.me/api/?inc=gender` | CORS enabled, no-cache |
221+
| `https://dog.ceo/api/breed/husky/list` | CORS enabled, no-cache |
222+
| `https://lenta.ru` | Russia supported, CORS enabled, no-cache |
223+
| `https://www.gazeta.ru` | Russia supported, CORS enabled, no-cache |
223224

224225
## If you liked the package, then please give it a [Like 👍🏼][package] and [Star ⭐][repository]
225226

example/lib/pages/custom_uris.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ class _CustomURIsState extends State<CustomURIs> {
3434
uri: Uri.parse('https://api.thecatapi.com/v1/images/search'),
3535
),
3636
InternetCheckOption(
37-
uri: Uri.parse('https://api.coindesk.com/v1/bpi/currentprice.json'),
37+
uri: Uri.parse('https://randomuser.me/api/?inc=gender'),
38+
),
39+
InternetCheckOption(
40+
uri: Uri.parse('https://dog.ceo/api/breed/husky/list'),
3841
),
3942
InternetCheckOption(uri: Uri.parse('https://lenta.ru')),
4043
InternetCheckOption(uri: Uri.parse('https://www.gazeta.ru')),

0 commit comments

Comments
 (0)