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

Add POST 'application/json' body support #65

Open
wants to merge 2 commits into
base: 2.7
Choose a base branch
from

Conversation

imstach
Copy link

@imstach imstach commented Sep 6, 2018

I used the autocomplete for a project and realized it didn't support 'application/json' content type to send the query as a json object.
So I added it to the ajax function : if the HttpMethod is POST and the content-type is application/json I create an object with the query that I stringify to send it as a json object.

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

Successfully merging this pull request may close these issues.

None yet

1 participant