fix(vikon): send POST data as form-urlencoded to match VIKON API expectations
This commit is contained in:
@@ -44,6 +44,7 @@ class HttpTask
|
|||||||
$url = $this->url($endpoint, $service);
|
$url = $this->url($endpoint, $service);
|
||||||
return $this->client()
|
return $this->client()
|
||||||
->withToken($token)
|
->withToken($token)
|
||||||
|
->asForm()
|
||||||
->post($url, $data);
|
->post($url, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user