One of the official Asserest tester package for asserting the given HTTP(S) is accessible.
(Coming soon for schema descriptions)
This assertion will cooperate with http package and determine accessibily by getting responde code which ideally is 200
and vice versa without extracting body context of the response. In additions, it supports emulated request by defining header and body using JSON object, array or string which required for some request methods.
dart pub add libasserest_interface libasserest_http
Open pubspec.yaml
by editor and append two lines under dependencies
:
dependencies:
# Please refer to latest release one
libasserest_interface: ^1.0.0
libasserest_http: ^1.0.0
Then, save it and run this command (if necessary):
dart pub get
AGPL-3.0 or later