Skip to content

Releases: albertodeago/curl-generator

v0.5.0

20 Oct 08:29

Choose a tag to compare

Support more methods:

  • options
  • copy
  • trace
  • head
  • query (even if supported only in a RFC)

v0.4.2

28 Mar 16:39

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

Choose a tag to compare

Fix body type

14 Dec 15:22

Choose a tag to compare

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

QoL improvements

13 Oct 08:01
d508f50

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

Choose a tag to compare

Add additional options support

0.1.0

19 Jan 18:06

Choose a tag to compare

Add type export thx to andrelmlins