http-to-curl
http-to-curl copied to clipboard
Added flag to disable output. Support forms.
While using the library, I found that the I needed the following capabilities which were not supported:
- Generate curl requests using form options. (This current throws a String error)
- Ability to turn off outputs from
http-to-curl. - Bug: Specify url in the Options object is not supported. (This currently logs a curl request of http://localhost/)
Changes:
- Added test for new scenario
- Convert string to buffer before concatenating the chunks in the body
- Added new parameter to turn off console log.
- Tidy up some statement. Added comments.
Sorry for the slow responses, Thanks For your contribution. Why this library need dockerfile? Can you please remove the docker file and ignore, then I will merge this PR :bow:
Soon I will help to re-release this patch. Thanks for your contribution.