如果提示这个错误设置一下远程站点
System.CalloutException: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = https://develop2-htw.cs31.force.com/services/apexrest/PointCalculation/
System.CalloutException: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = https://develop2-htw.cs31.force.com/services/apexrest/PointCalculation/