Sunday, 18 August 2019

HTTPie: Send response data to a file


Using --output option, you can send the response data to a file.


$http --output out.txt http://localhost:8080/public/v1/guests
$
$cat out.txt
[{"id":5,"firstName":"ram","lastName":"krishna"}]



Previous                                                    Next                                                    Home

No comments:

Post a Comment