System.CalloutException: Method can not be null

If you face System.CalloutException: Method can not be null issue, make sure you are using POST Or GET Or PUT in your request.

Sample Code:

        HTTPRequest req = new HTTPRequest();
        req.setEndPoint('End Point URL');


No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit