OkHttpSpigotClient icon

OkHttpSpigotClient -----

bundled ok http client inside plugin



What do I have to do as a server owner?
Just download the jar and drop it in the plugins folder. Done.
Add this jar as dependency in maven/lib in your IDA/eclipse project.

Example usage of the api:
Code (Text):
OkHttpClient client = new OkHttpClient();
        RequestBody body = RequestBody.create(MediaType.get("application/json; charset=utf-8"), text);
        Request request = new Request.Builder()
                .url(url)
                .post(body)
                .build();
        try (Response response = client.newCall(request).execute()) {
            return response.body().string();
        } catch (IOException e) {
            e.printStackTrace();
        }
Here is a quick guide of OkHttp API: https://square.github.io/okhttp/

Note I'm not the developper of okhttp or okio, this is only a bundled jar to help developers.
Resource Information
Author:
----------
Total Downloads: 68
First Release: Jul 28, 2021
Last Update: Jul 28, 2021
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings