Open pj-codes opened 1 year ago
Oh, nice idea. -w supports a bunch of options, I’ll need to see what can be added and where I could use some help On Jan 3, 2023, at 8:27 AM, Pulkit @.***> wrote: It would be really helpful, if we can add an extra flag just like curl to print status code directly to std out and write content to a file Something like this curl -s -o response.txt -w "%{http_code}" http://example.com
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
I like this -- I'll try to get some time to include this.
@okigan That would be awesome
It would be really helpful, if we can add an extra flag just like curl to print status code directly to std out and write content to a file Something like this
curl -s -o response.txt -w "%{http_code}" http://example.com