Save output of response headers and body to files #3

Merged
vlw merged 3 commits from refs/pull/3/head into master 2026-03-14 10:40:51 +01:00
vlw commented 2026-03-14 09:46:28 +01:00 (Migrated from codeberg.org)

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.

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.
Sign in to join this conversation.
No description provided.