clean up for GPHTTPRequest POST and PUT