FIX_INTERNAL_API_CALL_HEADERS
This commit is contained in:
parent
284714fc7e
commit
5ca59ab1a7
@ -4408,7 +4408,8 @@ class EmployeeRestController extends AdminController
|
||||
{
|
||||
$client = \Config\Services::curlrequest();
|
||||
$url = env('PRE_ENROLLMENT_BASEURL') . $endPoint;
|
||||
$response = $client->post($url, ['json' => $postData, 'http_errors' => false]);
|
||||
$headers = [ 'App-Signature' => getenv('APP_SIGNATURE') ];
|
||||
$response = $client->post($url, ['json' => $postData,'headers' => $headers,'http_errors' => false]);
|
||||
// return json_decode($response->getBody(), true);
|
||||
return $response->getBody();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user