Foros de discusión

How to use curl in java

thumbnail
Sudarshan Kumar, modificado hace 11 años.

How to use curl in java

Junior Member Mensajes: 42 Fecha de incorporación: 12/08/11 Mensajes recientes
Hi all,

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

Thanks
Sudarshan
thumbnail
David H Nebinger, modificado hace 11 años.

RE: How to use curl in java

Liferay Legend Mensajes: 14914 Fecha de incorporación: 2/09/06 Mensajes recientes
A) this is not a liferay issue, and should not be in the Liferay forum...

emoticon why would anyone want to?
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: How to use curl in java

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
You'll be able to invoke Java from Curl using Curl ORB. Not sure the other way around.
thumbnail
jelmer kuperus, modificado hace 11 años.

RE: How to use curl in java

Liferay Legend Mensajes: 1191 Fecha de incorporación: 10/03/10 Mensajes recientes
You mean curl the commandline tool to make requests? Don't use that from java, use commons-http-client or liferay's HttpUtil.URLtoString