I am using cURL to post a XML file on Linux as follows:

```
curl -X POST --header "Content-Type: text/xml" -d @test.xml "https://www.example.com"

```

How can I check the status of the cURL command to see if the file was posted or not?

Thanks for any help.