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

curl / wget #141

Closed
cyrilchapon opened this issue Jun 22, 2018 · 2 comments
Closed

curl / wget #141

cyrilchapon opened this issue Jun 22, 2018 · 2 comments

Comments

@cyrilchapon
Copy link

hey :)

I'm using shx for most administrative tasks in my package.json scripts.

I'm writing a serverless function, and I'd like to test it brutally through a curl request.

I'm facing the issue of not-writing-a-script-just-for-this, and I'd like to do this portably (env agnosticly).

I think this would be a great addition to have a curl / wget - like commend 😄

@cyrilchapon
Copy link
Author

Sorry, added a +1 inside shelljs

@nfischer
Copy link
Member

Glad you're liking shx/shelljs so far 😄

In the case of curl, I would recommend just installing that yourself (it's a binary, and supports both windows and unix if I recall). Otherwise, I think there are npm modules for curl functionality which shouldn't be too hard to use.

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

No branches or pull requests

2 participants