A blog editor

A blog will have an administration section that will allow us to update the blog using the Web. This will be accessible through the address http://localhost:8080/admin, using the admin login as the username and Password1 as the password (both case sensitive).


Never ever ever use such a simple login in a real application!

The admin section of the blog's website will consist of web forms. The forms will use the post method so that the blog server will have to detect this correctly in the _handleRequest method of the BlogServerApp class to handle the request. This is exposed by the method property of the request object, as shown in the following code snippet:

if (request.method == 'POST') {

POST requests still ...

Get Dart: Scalable Application Development now with O’Reilly online learning.

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