Debugging restful requests