====== Send a rest api request via curl ====== curl -u user:pwd "https://:/" -k -v -X POST -H "Content-Type: application/json" -d '{"sortColumn":"name","sortDirection":"asc","filters":[]}' > out.txt - **URL**: https://host:port/rest-endpoint?onlyAlerts=false&action=navigate - **Username**: user - **Password**: pwd - **HTTP Method**: POST - **Headers**: - **Content-Type**: application/json - **Data/Payload**: {"sortColumn":"name","sortDirection":"asc","filters":[]} - **Output**: The output of the command will be redirected to a file named out.txt. - **-k**: This option allows curl to proceed and operate even for server connections otherwise considered insecure. - **-v**: Makes the operation more talkative. You can see information about the SSL certificate, the headers, and more.