eticon_api 2.0.5 copy "eticon_api: ^2.0.5" to clipboard
eticon_api: ^2.0.5 copied to clipboard

This package will help you quickly and easily work with HTTP REQUESTS. All you need to do is select one of the 4 required requests: GET, POST, DELETE, PUT, PATCH

2.0.5 #

  • Update packages
  • Some bug's fix

2.0.0 #

  • Change main package to dio, if you want to use http and version 1.3.12(last before migration) of this package use OldApi
  • Remove "raw" requests, now you can use default request
  • Change Api.init to support several base urls. To switch between them, simply specify the index of the desired address in the request
  • Enable to send FormData

1.3.12 #

  • Update README

1.3.11 #

  • Add PATCH
  • Add functionality for refresh token
  • Remove loadTokenFromMemory()
  • Some fix

1.3.10 #

  • Some fix

1.3.9 #

  • Add encode component in url

1.3.8 #

  • Custom Auth header title

1.3.6 #

  • Update README

1.3.5 #

  • Api.init now has new parameter loadTokenFromMemory

1.3.4 #

  • Fix rawPost and rawPut headers

1.3.3 #

  • Fix rawGet url

1.3.2 #

  • loadTokenFromMemory(), now deprecated and token load in init function
  • Added DartApi class to work with REST api in pure dart
  • Added support for non-json responses
  • Update README

1.3.0 #

  • Add new "raw" requests
  • Coordinate changes within the work of the package. However, for users, everything remains the same.
  • Update README

1.2.2 #

  • Add new field in Api.init(), String storageUrl
  • Add new method, Api.dataFromStorage(String path);
  • Fix bug with empty response
  • Update README

1.2.2-beta #

  • Fix some bugs
  • Small experiments

1.2.1 #

  • Fix some bugs

1.2.0 #

  • Release from beta

1.2.0-beta.1. #

  • Edit README

1.2.0-beta #

  • Changed storage saving token
  • Api.init now async
  • Api.setToken and loadTokenFromMemory now sync
  • Edit readme

1.1.3 #

  • Edit Russian readme

1.1.2 #

  • Fix some bugs

1.1.1 #

  • Fix some bugs

1.1.0 #

  • Update all error class
  • Now errors with the Internet connection are triggered even when testMode is enabled
  • Updated package structure
  • Update Readme, added errors information

1.0.3+1 #

  • Edit Readme

1.0.3 #

  • Add Api initialization method, fix some bugs

1.0.2+1-beta #

  • Fix bearer authorization

1.0.1-beta #

  • Fix load token from memory

1.0.0-beta #

  • Release the package
12
likes
150
points
61
downloads

Publisher

verified publishereticon.ru

Weekly Downloads

This package will help you quickly and easily work with HTTP REQUESTS. All you need to do is select one of the 4 required requests: GET, POST, DELETE, PUT, PATCH

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, get_storage, http

More

Packages that depend on eticon_api