Skip to content

Conversation

LaurentMarquet
Copy link
Contributor

As stated in https://stackoverflow.com/questions/47972237/symfony-4-json-authentication-not-working/49071038#49071038, which helped me to find why it did not work, the POST Request only works with the header Content-Type: application/json, so just adding it will make it clear to everyone.

As stated in https://stackoverflow.com/questions/47972237/symfony-4-json-authentication-not-working/49071038#49071038, which helped me to find why it did not work, the POST Request only works with the header `Content-Type: application/json`, so just adding it will make it clear to everyone
@javiereguiluz
Copy link
Member

Thanks for another nice little improvement!

javiereguiluz added a commit that referenced this pull request Oct 23, 2018
This PR was submitted for the 4.1 branch but it was merged into the 3.4 branch instead (closes #10525).

Discussion
----------

Update json_login_setup.rst

As stated in https://stackoverflow.com/questions/47972237/symfony-4-json-authentication-not-working/49071038#49071038, which helped me to find why it did not work, the POST Request only works with the header `Content-Type: application/json`, so just adding it will make it clear to everyone.

Commits
-------

78f6b84 Update json_login_setup.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants