Started passing a list of dictionaries to the on_failure callback for POST requests
- fixes 104