Recovering failed http post

I have http posts communicating with my back end server. If a http post should fail (for example my backend server is down) am I able to determine that a http post was attempted and failed - if so, how would I then access this data and pull it into my data set?