Written by

Question Nezla · May 4, 2022

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

Comments

Marc Mundt · May 5, 2022

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?

0
Nezla  May 5, 2022 to Marc Mundt

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

thanks

0
Nezla  May 5, 2022 to David Underhill

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

0