Commit graph

6 commits

Author SHA1 Message Date
d43e64794f
feat: add script to save and load configs 2026-03-29 12:59:27 +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
vlw
d9fa939da5 doc(fix): README nit fixes (#1)
Add public domain mark badge as well as some other fixes to README.

Reviewed-on: https://codeberg.org/vlw/curl/pulls/1
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
2025-02-09 10:30:01 +00:00
vlw
ee7f36e1c5 doc: add README.md 2025-02-09 10:19:06 +00:00
3a60df64ee initial commit 2025-02-09 09:25:13 +01:00