Only parse request body if it exists