The command below successfully sends GET requests to a secure server with the Wget Command which saves the output in the “response_from_API_server.json” file in the same directory.
Is there any way to show the command output on the screen instead of saving it into a file?
Sample code:
wget -S --ca-cert=/etc/ssl/AAA.crt
--certificate=/etc/ssl/[email protected]
--private-key=/etc/ssl/[email protected]
--header="Accept-Encoding: gzip, deflate"
--header='Accept-Charset: UTF-8'
--header='Content-Type: application/json' -O response_from_API_server.json
--post-data '{"email": "[email protected]", "accountID": "myaccount1234"}' https: //examplewebsite.com//ourUsers/findAccount