OLD | NEW |
1 --- | 1 --- |
2 layout: default | 2 layout: default |
3 title: "Fetch Data Dynamically" | 3 title: "Fetch Data Dynamically" |
4 description: "Use HttpRequest to fetch data from a file or a server." | 4 description: "Use HttpRequest to fetch data from a file or a server." |
5 has-permalinks: true | 5 has-permalinks: true |
6 tutorial: | 6 tutorial: |
7 id: fetchdata | 7 id: fetchdata |
8 next: forms/ | 8 next: forms/ |
9 next-title: "Get Input from a Form" | 9 next-title: "Get Input from a Form" |
10 prev: futures/ | 10 prev: cmdline/ |
11 prev-title: "Use Future-Based APIs" | 11 prev-title: "Write Command-Line Apps" |
12 --- | 12 --- |
13 | 13 |
14 {% capture whats_the_point %} | 14 {% capture whats_the_point %} |
15 | 15 |
16 * Data on the web is often formatted in JSON. | 16 * Data on the web is often formatted in JSON. |
17 * JSON is text based and human readable. | 17 * JSON is text based and human readable. |
18 * The dart:convert library provides support for JSON. | 18 * The dart:convert library provides support for JSON. |
19 * Use HttpRequest to dynamically load data. | 19 * Use HttpRequest to dynamically load data. |
20 | 20 |
21 {% endcapture %} | 21 {% endcapture %} |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 * The next tutorial, | 477 * The next tutorial, |
478 [Get Input from a Form](/docs/tutorials/forms/), | 478 [Get Input from a Form](/docs/tutorials/forms/), |
479 contains a client/server example that | 479 contains a client/server example that |
480 shows you how to use a form to get data from the user, | 480 shows you how to use a form to get data from the user, |
481 and using JSON, send that form to a server, | 481 and using JSON, send that form to a server, |
482 and handle the server's response. | 482 and handle the server's response. |
483 | 483 |
484 {% endcapture %} | 484 {% endcapture %} |
485 | 485 |
486 {% include tutorial.html %} | 486 {% include tutorial.html %} |
OLD | NEW |