Retrieving data from the REST Server works well, but if I want to post an object it doesn\'t work:
public static void postJSONObject(int store_type, Favorite
I would go right to the server err_log or equivelant error log. The server knows why it rejected your request. If you don't have access, set up your own test server and duplicate the issue there so you can review the logs =)