Skip to content

Example showcasing usage of x-www-form-urlencoded in Jaguar

Notifications You must be signed in to change notification settings

jaguar-examples/form_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

form_example

Example showcasing usage of x-www-form-urlencoded in Jaguar.

Screenshot

Try it

Use pub to serve html files

pub serve --port 8000

Start the server

dart bin/server.dart

Try the example app on the browser

Open http://localhost:8005 in a browser of your choice.

Explanation

This example implements a "contacts list" web app to demonstrate how to use x-www-form-urlencoded in Jaguar.

The interface to add a new contact is built using HTML forms. This form is sent as x-www-form-urlencoded by the browser.

The server uses bodyAsUrlEncodedForm to decode the form.

About

Example showcasing usage of x-www-form-urlencoded in Jaguar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published