dia_body 0.0.2 dia_body: ^0.0.2 copied to clipboard
Request body parser middleware for Dia http serer. Parse query, x-www-form-urlencoded, json and form-data params and uploaded files form HttpRequest.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dia_body
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dia_body: ^0.0.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dia_body/dia_body.dart';