Skip to content

Releases: albertodeago/curl-generator

v0.4.2

28 Mar 16:39
Compare
Choose a tag to compare

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)

20 May 07:15
bf1925e
Compare
Choose a tag to compare

Fix body type

14 Dec 15:22
Compare
Choose a tag to compare

Just a typescript type change: fix body type from string to object

QoL improvements

13 Oct 08:01
d508f50
Compare
Choose a tag to compare
  • 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

11 Jul 15:29
Compare
Choose a tag to compare

Add additional options support

0.1.0

19 Jan 18:06
Compare
Choose a tag to compare

Add type export thx to andrelmlins