Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
Fix post request
Browse files Browse the repository at this point in the history
Mailjet post request need params to be inside the post body
nor in the query string
seb-celinedesign committed Jan 20, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0671f77 commit 01ecdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailjet/Api/Client.php
Original file line number Diff line number Diff line change
@@ -67,7 +67,7 @@ public function post($apiQuery, $options = array())
throw new \InvalidArgumentException('Unsupported API query for POST method: ' . $apiQuery);
}

$request = $this->getApi()->post($apiQuery);
$request = $this->getApi()->post($apiQuery, null, $options);

$this->prepareRequest($request, $options);

0 comments on commit 01ecdea

Please sign in to comment.