Skip to content

Commit

Permalink
curl requests get not post
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBurke-RL committed Jan 29, 2018
1 parent 38a5429 commit d22dd97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CapApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function callApi($request_url, array $credentials, array $call_dat
{
$client = new Client();

$response = $client->post(
$response = $client->get(
self::$base_url . $request_url,
[
'query' => array_merge(
Expand Down
2 changes: 1 addition & 1 deletion src/DvlaMotApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function callApi($key, array $call_data)
'x-api-key' => $key
]]);

$response = $client->post(
$response = $client->get(
self::$url,
[
'query' => $call_data,
Expand Down

0 comments on commit d22dd97

Please sign in to comment.