CHAPTER 27

image

Combining Web Services with Dart

In this chapter we’ll see how to combine web services with Dart. We’ll cover how to deal with HttpRequests from Dart, and through code examples we’ll show you how to make requests to get information from a server as well as how to make requests to send data to the server using POST methods.

We have seen that by using Dart we can handle HTML documents and everything related to CSS. Currently websites download most functions on the client side using the power of the client’s devices, thus reducing resource consumption on the server side.

One of the biggest advantages to increasing power on the client side ...

Get Web Programming with Dart now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.