ok_http_dart 1.0.0
ok_http_dart: ^1.0.0 copied to clipboard
A easy to use http wrapper made for personal usage.
A wrapper for dart http package for easier usage mainly for webscraping and personal use
Features #
webscraping tools json parsing using your custom fromJson method
Getting started #
add this line to your pubspec.yaml file in the root of your project.
lol
Usage #
create a OkHttpClient Instance
final OkHttpClient client = OkHttpClient();
now you can make request using that instance
void main(List<String> args) async {
final request =
await client.get('https://jsonplaceholder.typicode.com/posts');
print(request.text);
}
Additional information #
TODO: ye