thatnickdev / curl-java

Basic Java CURL. "Get" requests only.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

curl-java

Basic Java CURL. "Get" requests only.


1. Cloning the repo

git clone https://github.com/thatnickdev/curl-java/

2. Import to your project

Add Project

3. Use the class

package javaapplication;

import curl.*;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

public class JavaApplication {

    public static void main(String[] args) {
        CURL request = new CURL("URL");
        try {
            System.out.println(request.getResponse());
        } catch (IOException ex) {
            Logger.getLogger(JavaApplication22.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
    
}

4. Need Help?

About

Basic Java CURL. "Get" requests only.

License:MIT License


Languages

Language:Java 100.0%