httpsnippet

HTTP Request snippet generator for many languages & libraries

APACHE-2.0 License

Downloads
209.4K
Stars
1.1K
Committers
59

Bot releases are hidden (Show)

httpsnippet - 2.0.0 Latest Release

Published by reynolek about 3 years ago

Thank you @jonasholbech, @erunion, @adamrdavid, @nateslo, @mahenzon for your contributions to this release.

BREAKING CHANGE: This release drops support for Node < 10.

  • Matched Javascript fetch request to node-fetch (#210)
  • Removed qs option from node-fetch (#213)
  • Dropped support for Node < 10 (#204)
  • FormData now properly applied to js fetch target (#202)
  • Added --globoff option to shell_curl (#199)
  • Removed unnecessary boundary from curl (#227)
  • Allowed passthrough options to the target (#222)
  • Properly wrap form url encoded data in fetch target (#218)
  • Security fixes via Dependabot
httpsnippet - v1.25.0

Published by reynolek over 3 years ago

Thank you @erunion for your contributions this release!

Cleaner Python Requests snippets
https://github.com/Kong/httpsnippet/pull/189

Regression fix for case-insensitive headers
https://github.com/Kong/httpsnippet/pull/188

node-fetch can now handle form-urlencoded requests
https://github.com/Kong/httpsnippet/pull/187

httpsnippet - node-fetch and form-data polyfill bug fix

Published by reynolek almost 4 years ago

Thank you @jgiovaresco, @hirenoble, and @erunion for their contributions on this release!

Encoding JSON Body in js-fetch target
#179

Adding node-fetch target
#180

Better error handling
#182

Handling polyfill in browsers when fs doesnt exist
#184

httpsnippet - Header Names and Form Request Fixes

Published by reynolek about 4 years ago

Thank you @erunion and @jgiovaresco for their contributions to this release!

Fix to handle multipart/form-data requests
#173

Fix to only lowercase headers for http/2
#178

httpsnippet - Axios and Kotlin support

Published by reynolek about 4 years ago

Thank you to @seanghay, @rohit-gohri and @erunion for their contributions to this release.

Axios
https://github.com/Kong/httpsnippet/pull/176

Kotlin
https://github.com/Kong/httpsnippet/pull/172

Removing php array from targets (drop support for php5)
https://github.com/Kong/httpsnippet/pull/175

Using const over var for javascript targets
https://github.com/Kong/httpsnippet/pull/174

httpsnippet - Additional Java Support

Published by reynolek about 4 years ago

httpsnippet - Custom Targets, Java Async and dependency updates

Published by reynolek over 4 years ago

Custom Targets
https://github.com/Kong/httpsnippet/pull/165

Java Async Target
https://github.com/Kong/httpsnippet/pull/163

Release made possibly by @windard and @erunion!

httpsnippet - Bugfixes

Published by darrenjennings over 5 years ago

Escaping curl multiline bodies and python request query string fixes.

https://github.com/Kong/httpsnippet/pull/138
https://github.com/Kong/httpsnippet/pull/102

Thanks to @StefanDywersant and @gschier! 🏆

httpsnippet - js fetch, http/1.1, powershell restmethod, bugfixes

Published by darrenjennings over 5 years ago

fetch
✨ New Targets!
#128 Javascript Fetch API

httpsnippet example.json -t javascript -c fetch

#99 HTTP 1.1 raw request string (RFC 7230)

httpsnippet example.json -t http

#133 Powershell RestMethod support

httpsnippet example.json -t powershell -c restmethod

🐛 Bugfixes:
#123 require openssl if url is https

🔒 DevDependencies Security Vulnerabilities patched:
These are devDependencies only and does not affect npm users.
#136, #139

This release was made possible by these first time contributors @StefanDywersant, @irvinlim, and @JPrevost. Thank you!

httpsnippet - v1.18.0 Bugfixes, refactors, green tests, slightly modified outputs

Published by darrenjennings over 5 years ago

See #134 for changeset.
image

Welcome to @gschier who is joining httpsnippet as co-maintainer! 🎉

Fixes #125
From #93

httpsnippet - 1.16.7

Published by darrenjennings over 5 years ago

Powershell target - https://github.com/Kong/httpsnippet/pull/127

Thanks to @bobmclaren for the work!

httpsnippet - 1.16.4

Published by ahmadnassri about 9 years ago

New
  • Browserify Compatibility!
httpsnippet - 1.16.3

Published by ahmadnassri about 9 years ago

Updates
  • updated dependencies
  • fixed syntax issues with standard / eslint
Fixes
  • Objective-C: target does not seem to support boolean values in postData payload #65
New
  • Go: Add option to include boilerplate #63
httpsnippet - 1.16.2

Published by ahmadnassri over 9 years ago

Updates

OCaml Syntax improvements

httpsnippet - 1.16.0

Published by ahmadnassri over 9 years ago

New
  • Java: OkHttp support added
httpsnippet - 1.15.0

Published by ahmadnassri over 9 years ago

New
  • Support for C with Libcurl
httpsnippet - 1.14.1

Published by ahmadnassri over 9 years ago

Updates
  • renamed C# key to csharp for ease of use in terminals and APIembed
httpsnippet - 1.14.0

Published by ahmadnassri over 9 years ago

New
  • C# support with RestSharp
  • CodeBuilder push and unshift can format strings
httpsnippet - 1.13.0

Published by ahmadnassri over 9 years ago

New
  • node 0.10 support
Updates
  • node:request uses util.inspect to output JSON object instead of JSON.stringify
  • dependencies
  • documentation
  • bin linting
httpsnippet - 1.12.1

Published by ahmadnassri over 9 years ago

Updates
  • NPM keywords to lower case
  • fix broken tests