Added helper methods to the Session type for GET, POST, PUT and DELETE API calls in order to be consistent with the doc.