Maintain the terminal output. If clearing the screen and scrollbuffer is desired, it should be wrapped in an upstream script.
Reviewed-on: https://codeberg.org/vlw/curl/pulls/13
Append search parameters to URL only if search parameters are provided. This means that "?" will not be appended to the URL if no parameters are provided.
Reviewed-on: https://codeberg.org/vlw/curl/pulls/14
Let's print the first response header in its entirety as opposed to the response code and.. the first word of the response header text. That is the main reason why we do this, let's just print the whole line.
Reviewed-on: https://codeberg.org/vlw/curl/pulls/12
In this PR we add the ability to save, move, and load configurations with a new `save.sh` script.
Reviewed-on: https://codeberg.org/vlw/curl/pulls/5
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
This might be the silliest PR I have made to date, but I just HAD to fix the stupid reference I made. The pain is real.
Reviewed-on: https://codeberg.org/vlw/curl/pulls/4
Co-authored-by: vlw <victor@vlw.se>
Co-committed-by: vlw <victor@vlw.se>
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>
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>