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
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
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
For curl, these help with how to do a POST
HTTP POST - Everything curl
cURL - POST request examples - Mkyong.com
The command line response contains everything and if it is json the below can help
JSON - Everything curl
As Marc says though, what do you need to be able to do?
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