Environment agnostic service host name
This commit is contained in:
@@ -35,7 +35,7 @@ if ( ! function_exists('flutterwave_api'))
|
||||
"debit_currency" => "NGN"
|
||||
));
|
||||
|
||||
curl_setopt($ch, CURLOPT_URL,"http://10.20.30.32:9086/create");
|
||||
curl_setopt($ch, CURLOPT_URL,"http://host.docker.internal:9086/create");
|
||||
// curl_setopt($ch, CURLOPT_POST, 1);
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));
|
||||
|
||||
Reference in New Issue
Block a user