http_modified

Last updated:

0 purchases

http_modified Image
http_modified Images
Add to Cart

Description:

http modified

The easiest package to use for calling REST APIs in Flutter, heavily based on http package.
Usage #
A simple usage example:
import 'package:http_modified/http_modified.dart';

// GET
final result = await get(tag: _tag, url: url);

//POST
final result = await post(
tag: _tag,
url: url,
headers: jsonHeadersWithBearer(token),
body: json.encode(requestModel.toJson()),
);

//REST with Attachment
final result = await restWithFile(
tag: _tag,
apiMethod: HttpMethods.POST,
url: url,
headers: jsonHeadersWithBearer(token),
apiKeyForFiles: 'attachment',
files: [AttachmentFile()],
);
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.