removed exception when data option is not specified for Post Put and Patch