Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

make ajaxRequest simpler #384

Merged
merged 1 commit into from
Dec 20, 2015
Merged

make ajaxRequest simpler #384

merged 1 commit into from
Dec 20, 2015

Conversation

zenozeng
Copy link
Contributor

By default, $.ajax's dataType is Intelligent Guess, which will try to infer it based on the MIME type of the response. Also, $.ajax will automatically convert data to query string if it's an object.

See also: http://api.jquery.com/jquery.ajax/

rottmann added a commit that referenced this pull request Dec 20, 2015
@rottmann rottmann merged commit b33716d into apidoc:master Dec 20, 2015
@twasono
Copy link

twasono commented Apr 14, 2016

not for me... the webclient does not POST the JSON payload anymore after this commit.. I have to use the old 0.14.0 release now.

@Phara0h
Copy link

Phara0h commented Aug 12, 2016

gotta love it only able to post and put in xml. would be nice to get this reverted I would rather the default be application/json anyone using this probably writes good services which don't use turn of the century formats like xml.

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

Successfully merging this pull request may close these issues.

None yet

6 participants