W3cubDocs

/Dart 2

send method

void send ([dynamic body_OR_data ])

Send the request with any given data.

Note: Most simple HTTP requests can be accomplished using the getString, request, requestCrossOrigin, or postFormData methods. Use of this send method is intended only for more complex HTTP requests where finer-grained control is needed.

Other resources

Implementation

void send([body_OR_data]) native;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/HttpRequest/send.html