Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Post Requests - Bad Request #2

Open
ogizanagi opened this issue Mar 18, 2014 · 0 comments
Open

API Post Requests - Bad Request #2

ogizanagi opened this issue Mar 18, 2014 · 0 comments

Comments

@ogizanagi
Copy link

@ogizanagi ogizanagi commented Mar 18, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant