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

unlisted

Library to facilitate http requests with error handling for Rest API requests.

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().post(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 error handling for Rest API requests.

Homepage

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on iws_http