iws_http 0.0.1 copy "iws_http: ^0.0.1" to clipboard
iws_http: ^0.0.1 copied to clipboard

unlistedoutdated

Library to facilitate http requests with Rest API.

Library to facilitate http requests with Rest API.

Features #

  • Authentication with JWT.
  • HTTP error handling.
  • File upload support.

Getting started #

Initialize the library:

  IwsHttp.setup(
      authority: 'mydomain.com',
      apiKey: 'my_secret_api_key',
      basePath: 'api/',
      secureConnection: true,
      bearerToken: 'my_secret_token');

Usage #

Make HTTP requests

IwsHttp().httpPost(path: 'login', body: {'email': 'user@example.com'}, auth: false);
0
likes
0
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Library to facilitate http requests with Rest API.

Homepage

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on iws_http