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:
Sample Code:
- HTTPRequest req = new HTTPRequest();
- req.setEndPoint('End Point URL');
- req.setMethod('GET');