ads

Wednesday, 29 August 2018

System.CalloutException: Method can not be null

IF error occur like System.CalloutException: Method can not be null issue, then u should use POST Or GET Or PUT in your request.


Sample Code:

        HTTPRequest firstreq = new HTTPRequest();
        firstreq.setEndPoint('Enter Your End Point URL');
firstreq.setMethod('GET');

No comments:

Post a Comment