force-rest-api
force-rest-api copied to clipboard
Return http responses instead of void calls
Hello,
I was wondering why there is no return value for http responses on some methods:
public void updateSObject(...
whereas this similar method has one (even though its a simple Enum value):
public CreateOrUpdateResult createOrUpdateSObject(...
I would want to monitor what happens to my http call, but as it is, its lost in the void.
Thanks.