KnpLabs/KnpMailjetBundle

API Post Requests - Bad Request

ogizanagi opened this issue · 0 comments

When trying to use MailjetClientInterface::post method to execute post request I'm alway retrieving this ClientErrorResponseException (userDomainstatus example):

Client error response
[status code] 400
[reason phrase] Bad Request
[url] https://api.mailjet.com/0.1/userDomainstatus?output=json&domain=mondomaine.com

Indeed, post and get method seems to be strictly equivalent and provide parameters in URL, and not into request body for POST.