function convertUpdateRequestMethod(req) {
	if (req.method === "POST" && req.body && req.body.uuid) {
		req.method = "PATCH";
	}
}
/**
 * Change POST requests to PATCH for an existing resource (when the uuid is defined)
 * @param req : The current request
 */
Change POST requests to PATCH for an existing resource (when the uuid is defined)
@param req : The current request
Change POST requests to PATCH for an existing resource ( when the uuid is defined ) @param req : The current request
function convertUpdateRequestMethod(req) {
	if (req.method === "POST" && req.body && req.body.uuid) {
		req.method = "PATCH";
	}
}
function convertUpdateRequestMethod ( req ) { if ( req . method === "POST" && req . body && req . body . uuid ) { req . method = "PATCH" ; } }
Change POST requests to PATCH for an existing resource (when the uuid is defined)
 @param req : The current request
Change POST requests to PATCH for an existing resource ( when the uuid is defined ) @param req : The current request