Esempio n. 1
0
 /**
  * Northstar constructor.
  */
 public function __construct()
 {
     $this->base_uri = config('services.phoenix.uri') . '/api/' . config('services.phoenix.version') . '/';
     $headers = ['Content-type' => 'application/json', 'Accept' => 'application/json'];
     parent::__construct($this->base_uri, $headers);
 }
Esempio n. 2
0
 /**
  * Northstar constructor.
  */
 public function __construct()
 {
     $base_uri = config('services.northstar.uri') . '/' . config('services.northstar.version') . '/';
     $headers = ['X-DS-REST-API-Key' => config('services.northstar.api_key')];
     parent::__construct($base_uri, $headers);
 }