Fixes #212 Corrects HTTP request error handling across methods for all slices

This pull request updates all slices to uniformly process the response from HTTP operations and handle errors appropriately.  Additionally, changes were made for code consistency across all slices.  Since the changes in each file were independent of each other, they were included in separate commits.