Showing posts with label send response to file. Show all posts
Showing posts with label send response to file. Show all posts

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