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 post request support #41

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

BenjaminVadant
Copy link

Hi,

I've made a small modification of your lib to add support of post request.

I needed this for my work and I thought it could be useful for others.

Hope you like the minimal impact !

Ben

@@ -35,7 +35,14 @@ module.exports = function (url, options) {
}
}
};
request.send();
if(Object.keys(options.post).length > 0)
Copy link
Owner

Choose a reason for hiding this comment

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

maybe just do this test once

@cjauvin
Copy link

cjauvin commented Oct 25, 2019

I am looking for this exact feature right now, so is there any chance that this PR could be merged?

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.

3 participants