okigan / awscurl

curl-like access to AWS resources with AWS Signature Version 4 request signing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support to print HTTP status code to std out and write content to another file

pj-codes opened this issue · comments

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

I like this -- I'll try to get some time to include this.

@okigan That would be awesome