Apex REST Callouts - Create an Apex class that calls a REST endpoint and write a test class - Salesforce Developer Community
Create an Apex class that returns an array (or list) of strings. Create an Apex class that returns an array (or list) of formatted strings ('Test 0', 'Test 1', ...). The length
12 Salesforce Apex Best Practices | Salesforce Ben