Commit graph

4 commits

Author SHA1 Message Date
dfd0664255 style: use lower case for variables (#6)
Use lower case for variables and upper case for constants to follow common conventions.

Reviewed-on: https://codeberg.org/vlw/curl/pulls/6
2026-03-31 12:02:06 +02:00
vlw
31d79e0c0d feat: save output of response headers and body to files (#3)
In this PR we add a new directly to store the files used with curl. We also put the response body and headers into files now instead of echoing them to the console. This makes them easier to read, and we can pretty-print JSON response bodies with proper syntax highlighting (and more). Since we have a few files now, I've also added an "init.sh" file that can be used to create the necessary files on first load.

Reviewed-on: https://codeberg.org/vlw/curl/pulls/3
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
2026-03-14 10:40:50 +01:00
73bf60d031 feat: add headers.json for specifying optional request headers (#2)
This PR replaces `key.txt` with `headers.json` which allows for optional request headers to be set.

Reviewed-on: https://codeberg.org/vlw/curl/pulls/2
2025-09-01 15:29:13 +02:00
3a60df64ee initial commit 2025-02-09 09:25:13 +01:00