How to use cURL in Java?

后端 未结 6 2023
孤街浪徒
孤街浪徒 2020-11-22 14:03

I am a newbie in java and wanted to use curl in java. What is my question is curl built-in in java or I have to install it from any 3rd party source to use with Java. If so,

6条回答
  •  萌比男神i
    2020-11-22 14:54

    Some people have already mentioned HttpURLConnection, URL and URLConnection. If you need all the control and extra features that the curl library provides you (and more), I'd recommend Apache's httpclient.

提交回复
热议问题