REST api support for payload request for ANGULAR resource