コード例 #1
0
ファイル: WebApiContext.php プロジェクト: drymek/fcs-backend
 public function iSendARequestWithValues($method, $url, TableNode $post)
 {
     $token = $this->getParameterBag()->get('token');
     $this->addHeader('Authorization', 'Bearer ' . $token);
     parent::iSendARequestWithValues($method, $url, $post);
     $this->getParameterBag()->set('response', $this->response);
 }