Foren

How to use curl in java

thumbnail
Sudarshan Kumar, geändert vor 11 Jahren.

How to use curl in java

Junior Member Beiträge: 42 Beitrittsdatum: 12.08.11 Neueste Beiträge
Hi all,

Can any one help me how to invoke curl (api/jsonws) using java program.

Thanks
Sudarshan
thumbnail
David H Nebinger, geändert vor 11 Jahren.

RE: How to use curl in java

Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
A) this is not a liferay issue, and should not be in the Liferay forum...

emoticon why would anyone want to?
thumbnail
Hitoshi Ozawa, geändert vor 11 Jahren.

RE: How to use curl in java

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
You'll be able to invoke Java from Curl using Curl ORB. Not sure the other way around.
thumbnail
jelmer kuperus, geändert vor 11 Jahren.

RE: How to use curl in java

Liferay Legend Beiträge: 1191 Beitrittsdatum: 10.03.10 Neueste Beiträge
You mean curl the commandline tool to make requests? Don't use that from java, use commons-http-client or liferay's HttpUtil.URLtoString