modularize the salesforst REST API requests