Question
Rochdi Badis · May 4

HTTP post request

Hi Guys,

 

How do I do a HTTP post request using a curl and get a response, the response should be a JSON file ? a sample code would be really appreciated.

 

Thanks

 

Product version: Ensemble 2014.1
0
0 112
Discussion (4)2
Log in or sign up to continue

Can you clarify a bit?

Do you want to use curl to make an HTTP request to a web service running in Ensemble? Or do you want Ensemble to launch curl to make an HTTP request to an external web service?

I want to use a curl to make a HTTP post request.

thanks

Sorry this is just too vague, and sort of result I got from googling around, I'm new to this and I was after a just a quick sample using ensemble objects on how to create a Post HTTP request and where to include my curl, then send the request ..etc

Thanks