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

Adding support for POST requests on the importer #191

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

Conversation

radiodario
Copy link

I've added support for POST requests on remote importers (by passing the type and postData parameters to the importer). It's a small change which might help?

@@ -11,6 +11,8 @@
* extract - a method to pass raw data through before handing back to parser.
* dataType - ajax datatype
* jsonp - true if it's a jsonp request, false otherwise.
* type - wether to do a post or a get request (defaults to 'GET')
* postData - The post data to send with the request
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change the name of this property to 'data' which is consistent with the parameter types used in jQuery (and thus are well known.)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

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

3 participants