I occasionally use curl, and it’s annoying when you have secrets that need to rotate regularly or you need to change the middle of a URL. Also: Fuck quoting in the shell.
I put the secrets in environment variables, I don’t what them to show up in the shell history anyway. Quoting can be a bit anything if you need nested quotes, but I hardly ever need that with curl.
I occasionally use curl, and it’s annoying when you have secrets that need to rotate regularly or you need to change the middle of a URL. Also: Fuck quoting in the shell.
I put the secrets in environment variables, I don’t what them to show up in the shell history anyway. Quoting can be a bit anything if you need nested quotes, but I hardly ever need that with curl.