@vinimenezes has asked: How do I use a curl with a GET method in Jestor? Is it CURLOPT_GET => true?
@fernando.nakandakari can you help us?
@vinimenezes has asked: How do I use a curl with a GET method in Jestor? Is it CURLOPT_GET => true?
@fernando.nakandakari can you help us?
Hey guys!
To send a GET call, all you have to do is set the CURLOPT_POST to false and not pass any post fields.
So something like the code below will be seen as a GET
$url = "https://example-url.com";
$response = Jestor.curlCall($url,array(
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json'
),
CURLOPT_POST => false
));