supplying url in requests
This commit is contained in:
parent
c3902286a6
commit
278c3b8904
1 changed files with 4 additions and 4 deletions
|
|
@ -44,7 +44,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'GET',
|
'GET',
|
||||||
$path,
|
config('netbox.panels.default.url').$path,
|
||||||
[
|
[
|
||||||
'query' => $query
|
'query' => $query
|
||||||
]
|
]
|
||||||
|
|
@ -61,7 +61,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'POST',
|
'POST',
|
||||||
$path,
|
config('netbox.panels.default.url').$path,
|
||||||
[
|
[
|
||||||
'form_params' => $body
|
'form_params' => $body
|
||||||
]
|
]
|
||||||
|
|
@ -78,7 +78,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'PUT',
|
'PUT',
|
||||||
$path,
|
config('netbox.panels.default.url').$path,
|
||||||
[
|
[
|
||||||
'form_params' => $body
|
'form_params' => $body
|
||||||
]
|
]
|
||||||
|
|
@ -95,7 +95,7 @@ class HttpClient implements HttpClientInterface
|
||||||
{
|
{
|
||||||
$response = $this->getClient()->request(
|
$response = $this->getClient()->request(
|
||||||
'DELETE',
|
'DELETE',
|
||||||
$path,
|
config('netbox.panels.default.url').$path,
|
||||||
[
|
[
|
||||||
'form_params' => $body
|
'form_params' => $body
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue