Releases: albertodeago/curl-generator
Releases · albertodeago/curl-generator
v0.4.2
Switch from double quotes to single quotes in curl commands
Thanks to @hack3rvaillant for contribution
Example of this change:
Before this release output was
curl https://jsonplaceholder.typicode.com/todos/1 \\
-X GET \\
-H "Content-Type: application/json"
After
curl https://jsonplaceholder.typicode.com/todos/1 \\
-X GET \\
-H 'Content-Type: application/json'
Add support for more body types (file, raw string, form)
thanks to @Fabb111
Fix body type
Just a typescript type change: fix body type from string to object
QoL improvements
- update dependencies
- added line seprators for readability and now anyone can just put this curl in command propmt as well (thx to @chandan1499)
0.2.0
Add additional options support
0.1.0
Add type export thx to andrelmlins